public class UUIDSerializer extends Object implements AttributeSerializer<UUID>
| Constructor and Description |
|---|
UUIDSerializer() |
| Modifier and Type | Method and Description |
|---|---|
UUID |
convert(Object value)
Converts the given (not-null) value to the expected datatype V.
|
UUID |
read(ScanBuffer buffer)
Reads an attribute from the given ReadBuffer.
|
void |
write(WriteBuffer buffer,
UUID attribute)
Writes the attribute value to the given WriteBuffer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitverifyAttributepublic UUID read(ScanBuffer buffer)
AttributeSerializerread in interface AttributeSerializer<UUID>buffer - ReadBuffer to read attribute frompublic void write(WriteBuffer buffer, UUID attribute)
AttributeSerializerwrite in interface AttributeSerializer<UUID>buffer - WriteBuffer to write attribute toattribute - Attribute to write to WriteBufferpublic UUID convert(Object value)
AttributeSerializerIllegalArgumentException if it cannot be converted.convert in interface AttributeSerializer<UUID>value - to convertCopyright © 2012–2015. All rights reserved.