public static final class ByteArrayUtil.IntegerSerializer extends java.lang.Object implements FixedSizeByteBufferSerializer<java.lang.Integer>
Modifier | Constructor and Description |
---|---|
private |
IntegerSerializer()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
fromByteBuffer(java.nio.ByteBuffer buffer)
Deprecated.
|
int |
getByteSize(java.lang.Integer object)
Deprecated.
|
int |
getFixedByteSize()
Get the fixed size needed by this serializer.
|
void |
toByteBuffer(java.nio.ByteBuffer buffer,
java.lang.Integer obj)
Deprecated.
|
private IntegerSerializer()
@Deprecated public java.lang.Integer fromByteBuffer(java.nio.ByteBuffer buffer)
ByteBufferSerializer
fromByteBuffer
in interface ByteBufferSerializer<java.lang.Integer>
buffer
- Data array to process@Deprecated public void toByteBuffer(java.nio.ByteBuffer buffer, java.lang.Integer obj)
ByteBufferSerializer
toByteBuffer
in interface ByteBufferSerializer<java.lang.Integer>
buffer
- Buffer to serialize toobj
- Object to serialize@Deprecated public int getByteSize(java.lang.Integer object)
ByteBufferSerializer
getByteSize
in interface ByteBufferSerializer<java.lang.Integer>
object
- Object to serializepublic int getFixedByteSize()
FixedSizeByteBufferSerializer
getFixedByteSize
in interface FixedSizeByteBufferSerializer<java.lang.Integer>
Copyright © 2019 ELKI Development Team. License information.