summaryrefslogtreecommitdiff
path: root/java/src/Freeze/MapInternal/KeyCodec.java
blob: e1cbd142e05eb62ec30e3dcfb32d83154173aa70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// **********************************************************************
//
// Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************

package Freeze.MapInternal;

interface KeyCodec<K>
{
    public abstract byte[] encodeKey(K k, Ice.Communicator communicator);
    public abstract K decodeKey(byte[] b, Ice.Communicator communicator);
}