private static class NativeTypeSerializer.FloatSerializer extends NativeTypeSerializer
float values.NativeTypeSerializer.Externalizer<T extends java.io.Externalizable>, NativeTypeSerializer.Reader<T>, NativeTypeSerializer.Writer<T>BOOLEAN_SERIALIZER, BYTE_SERIALIZER, CHAR_SERIALIZER, DOUBLE_SERIALIZER, FLOAT_SERIALIZER, INT_SERIALIZER, LONG_SERIALIZER, mark, OBJECT_SERIALIZER, SHORT_SERIALIZER, STRING_SERIALIZER| Modifier | Constructor and Description |
|---|---|
protected |
FloatSerializer()
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Float |
readValueWorker(java.io.ObjectInput in)
A worker to read the value from the specified source, as a native
float. |
protected void |
writeValueWorker(java.lang.Object value,
java.io.ObjectOutput out)
Worker to write the value to the specified destination, as a native
float. |
getWorker, readArray, readBaseDataType, readBoolean, readByte, readByteArray, readDouble, readEnum, readExtArray, readExternalizable, readExtNotNull, readFloat, readIntArray, readInteger, readIntegerArray, readIntSet, readList, readList, readList, readList, readLong, readLongArray, readLongSet, readMap, readShortArray, readSparseExtArray, readString, readStringArray, readStringSet, readValue, writeArray, writeArray, writeBaseDataType, writeBoolean, writeByte, writeByteArray, writeDouble, writeEnum, writeExternalizable, writeFloat, writeIntArray, writeInteger, writeIntegerArray, writeIntSet, writeList, writeList, writeLong, writeLongArray, writeLongSet, writeMap, writeShortArray, writeSparseArray, writeString, writeStringArray, writeStringSet, writeValueprotected void writeValueWorker(java.lang.Object value,
java.io.ObjectOutput out)
throws java.io.IOException
float.writeValueWorker in class NativeTypeSerializervalue - The value to be written.out - The destination.java.io.IOException - In case of I/O errors.protected java.lang.Float readValueWorker(java.io.ObjectInput in)
throws java.io.IOException
float.readValueWorker in class NativeTypeSerializerin - The source.java.io.IOException - In case of I/O errors.