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