T - typepublic class TypeInferringSerializer<T> extends AbstractSerializer<T> implements Serializer<T>
| Constructor and Description |
|---|
TypeInferringSerializer() |
| Modifier and Type | Method and Description |
|---|---|
T |
fromByteBuffer(ByteBuffer byteBuffer)
Extract an object of type T from the bytes.
|
static <T> TypeInferringSerializer<T> |
get() |
ByteBuffer |
toByteBuffer(T obj)
Extract bytes from the obj of type T
|
computeInitialHashSize, fromBytes, fromBytesList, fromBytesMap, fromBytesSet, getComparatorType, toBytes, toBytesList, toBytesMap, toBytesSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromBytes, fromBytesList, fromBytesMap, fromBytesSet, getComparatorType, toBytes, toBytesList, toBytesMap, toBytesSetpublic static <T> TypeInferringSerializer<T> get()
public ByteBuffer toByteBuffer(T obj)
SerializertoByteBuffer in interface Serializer<T>toByteBuffer in class AbstractSerializer<T>public T fromByteBuffer(ByteBuffer byteBuffer)
SerializerfromByteBuffer in interface Serializer<T>fromByteBuffer in class AbstractSerializer<T>Copyright © 2014. All Rights Reserved.