public class SerializerDouble extends SerializerEightByte<java.lang.Double>
BIG_DECIMAL, BIG_INTEGER, BOOLEAN, BYTE, BYTE_ARRAY, BYTE_ARRAY_DELTA, BYTE_ARRAY_DELTA2, BYTE_ARRAY_NOSIZE, CHAR, CHAR_ARRAY, CLASS, DATE, DOUBLE, DOUBLE_ARRAY, ELSA, FLOAT, FLOAT_ARRAY, ILLEGAL_ACCESS, INT_ARRAY, INTEGER, INTEGER_DELTA, INTEGER_PACKED, JAVA, LONG, LONG_ARRAY, LONG_DELTA, LONG_PACKED, RECID, RECID_ARRAY, SHORT, SHORT_ARRAY, STRING, STRING_ASCII, STRING_DELTA, STRING_DELTA2, STRING_INTERN, STRING_NOSIZE, STRING_ORIGHASH, UUID
Constructor and Description |
---|
SerializerDouble() |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
deserialize(DataInput2 in,
int available)
Deserializes and returns the content of the given
DataInput2 . |
protected long |
pack(java.lang.Double l) |
void |
serialize(DataOutput2 out,
java.lang.Double value)
Serializes the content of the given value into the given
DataOutput2 . |
protected java.lang.Double |
unpack(long l) |
int |
valueArraySearch(java.lang.Object keys,
java.lang.Double key) |
fixedSize, isTrusted, valueArrayBinaryGet, valueArrayCopyOfRange, valueArrayDeleteValue, valueArrayDeserialize, valueArrayEmpty, valueArrayFromArray, valueArrayGet, valueArrayPut, valueArraySearch, valueArraySerialize, valueArraySize, valueArrayUpdateVal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
nextValue, valueArrayBinarySearch, valueArrayToArray
clone, compare, deserializeFromLong, equals, hashCode, needsAvailableSizeHint
protected java.lang.Double unpack(long l)
unpack
in class SerializerEightByte<java.lang.Double>
protected long pack(java.lang.Double l)
pack
in class SerializerEightByte<java.lang.Double>
public int valueArraySearch(java.lang.Object keys, java.lang.Double key)
public void serialize(DataOutput2 out, java.lang.Double value) throws java.io.IOException
Serializer
DataOutput2
.out
- DataOutput2 to save object intovalue
- Object to serializejava.io.IOException
- in case of an I/O errorpublic java.lang.Double deserialize(DataInput2 in, int available) throws java.io.IOException
Serializer
DataInput2
.in
- DataInput2 to de-serialize data fromavailable
- how many bytes that are available in the DataInput2 for
reading, may be -1 (in streams) or 0 (null).DataInput2
java.io.IOException
- in case of an I/O errorCopyright © 2018. All Rights Reserved.