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