public class KryoSerializer<T> extends Object implements ExternalMergeSort.Serializer<T>
| Constructor and Description |
|---|
KryoSerializer(Class<T> type) |
KryoSerializer(Class<T> type,
com.esotericsoftware.kryo.Kryo kryo) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<T> |
readValues(InputStream input) |
void |
writeValues(Iterator<T> values,
OutputStream out) |
public void writeValues(Iterator<T> values, OutputStream out) throws IOException
writeValues in interface ExternalMergeSort.Serializer<T>IOExceptionpublic Iterator<T> readValues(InputStream input) throws IOException
readValues in interface ExternalMergeSort.Serializer<T>IOExceptionCopyright © 2014. All Rights Reserved.