public static interface CoordinateSortedPairInfoMap.Codec<KEY,REC>
Modifier and Type | Method | Description |
---|---|---|
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(InputStream is) |
Where to read encoded input from
|
void |
setOutputStream(OutputStream os) |
Where to write encoded output
|
void setOutputStream(OutputStream os)
os
- void setInputStream(InputStream is)
is
- void encode(KEY key, REC record)