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