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