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