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