
public static class LabelList.Serializer extends Object implements ByteBufferSerializer<LabelList>
| Constructor and Description |
|---|
LabelList.Serializer() |
| Modifier and Type | Method and Description |
|---|---|
LabelList |
fromByteBuffer(ByteBuffer buffer)
Deserialize an object from a byte buffer (e.g. disk)
|
int |
getByteSize(LabelList object)
Get the size of the object in bytes.
|
void |
toByteBuffer(ByteBuffer buffer,
LabelList object)
Serialize the object to a byte array (e.g. disk)
|
public LabelList fromByteBuffer(ByteBuffer buffer) throws IOException
ByteBufferSerializerfromByteBuffer in interface ByteBufferSerializer<LabelList>buffer - Data array to processIOException - on IO errorspublic void toByteBuffer(ByteBuffer buffer, LabelList object) throws IOException
ByteBufferSerializertoByteBuffer in interface ByteBufferSerializer<LabelList>buffer - Buffer to serialize toobject - Object to serializeIOException - on IO errorspublic int getByteSize(LabelList object) throws IOException
ByteBufferSerializergetByteSize in interface ByteBufferSerializer<LabelList>object - Object to serializeIOException - on IO errorsCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.