public final class LongSerializer extends AbstractSerializer<Long>
| Constructor and Description |
|---|
LongSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Long |
fromByteBuffer(ByteBuffer byteBuffer)
Extract an object of type T from the bytes.
|
static LongSerializer |
get() |
ComparatorType |
getComparatorType() |
ByteBuffer |
toByteBuffer(Long obj)
Extract bytes from the obj of type T
|
computeInitialHashSize, fromBytes, fromBytesList, fromBytesMap, fromBytesSet, toBytes, toBytesList, toBytesMap, toBytesSetpublic static LongSerializer get()
public ByteBuffer toByteBuffer(Long obj)
SerializertoByteBuffer in interface Serializer<Long>toByteBuffer in class AbstractSerializer<Long>public Long fromByteBuffer(ByteBuffer byteBuffer)
SerializerfromByteBuffer in interface Serializer<Long>fromByteBuffer in class AbstractSerializer<Long>public ComparatorType getComparatorType()
getComparatorType in interface Serializer<Long>getComparatorType in class AbstractSerializer<Long>Copyright © 2014. All Rights Reserved.