|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.database.ids.integer.IntegerDBID.StaticSerializer
public static class IntegerDBID.StaticSerializer

Static sized serializer, using regular integers.
| Constructor Summary | |
|---|---|
protected |
IntegerDBID.StaticSerializer()
Constructor. |
| Method Summary | |
|---|---|
DBID |
fromByteBuffer(ByteBuffer buffer)
Deserialize an object from a byte buffer (e.g. disk) |
int |
getByteSize(DBID object)
Get the size of the object in bytes. |
int |
getFixedByteSize()
Get the fixed size needed by this serializer. |
void |
toByteBuffer(ByteBuffer buffer,
DBID object)
Serialize the object to a byte array (e.g. disk) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected IntegerDBID.StaticSerializer()
| Method Detail |
|---|
public DBID fromByteBuffer(ByteBuffer buffer)
throws UnsupportedOperationException
ByteBufferSerializer
fromByteBuffer in interface ByteBufferSerializer<DBID>buffer - Data array to process
UnsupportedOperationException
public void toByteBuffer(ByteBuffer buffer,
DBID object)
throws UnsupportedOperationException
ByteBufferSerializer
toByteBuffer in interface ByteBufferSerializer<DBID>buffer - Buffer to serialize toobject - Object to serialize
UnsupportedOperationException
public int getByteSize(DBID object)
throws UnsupportedOperationException
ByteBufferSerializer
getByteSize in interface ByteBufferSerializer<DBID>object - Object to serialize
UnsupportedOperationExceptionpublic int getFixedByteSize()
FixedSizeByteBufferSerializer
getFixedByteSize in interface FixedSizeByteBufferSerializer<DBID>
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||