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