public static interface CoordinateSortedPairInfoMap.Codec<KEY,REC>
Modifier and Type | Method and Description |
---|---|
java.util.Map.Entry<KEY,REC> |
decode()
Read the next key and record from the input stream and convert into a java object.
|
void |
encode(KEY key,
REC record)
Write object to output stream.
|
void |
setInputStream(java.io.InputStream is)
Where to read encoded input from
|
void |
setOutputStream(java.io.OutputStream os)
Where to write encoded output
|
void setOutputStream(java.io.OutputStream os)
os
- void setInputStream(java.io.InputStream is)
is
- void encode(KEY key, REC record)