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