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