public static final class ByteArrayUtil.IntegerSerializer extends Object implements FixedSizeByteBufferSerializer<Integer>
Modifier | Constructor and Description |
---|---|
private |
ByteArrayUtil.IntegerSerializer()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Integer |
fromByteBuffer(ByteBuffer buffer)
Deprecated.
|
int |
getByteSize(Integer object)
Deprecated.
|
int |
getFixedByteSize()
Get the fixed size needed by this serializer.
|
void |
toByteBuffer(ByteBuffer buffer,
Integer obj)
Deprecated.
|
private ByteArrayUtil.IntegerSerializer()
@Deprecated public Integer fromByteBuffer(ByteBuffer buffer)
ByteBufferSerializer
fromByteBuffer
in interface ByteBufferSerializer<Integer>
buffer
- Data array to process@Deprecated public void toByteBuffer(ByteBuffer buffer, Integer obj)
ByteBufferSerializer
toByteBuffer
in interface ByteBufferSerializer<Integer>
buffer
- Buffer to serialize toobj
- Object to serialize@Deprecated public int getByteSize(Integer object)
ByteBufferSerializer
getByteSize
in interface ByteBufferSerializer<Integer>
object
- Object to serializepublic int getFixedByteSize()
FixedSizeByteBufferSerializer
getFixedByteSize
in interface FixedSizeByteBufferSerializer<Integer>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.