public class FloatSerializer extends java.lang.Object implements Serializer<java.lang.Float>
Serializer for Float type. Simply writes the float value
 to a byte buffer.| Constructor and Description | 
|---|
| FloatSerializer()No arg constructor | 
| FloatSerializer(java.lang.ClassLoader classLoader)Constructor to enable this serializer as a transient one. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Float object,
      java.nio.ByteBuffer binary)Checks if the given instance and serial form  representthe same instance. | 
| java.lang.Float | read(java.nio.ByteBuffer binary)Reconstructs an instance from the given serial form. | 
| java.nio.ByteBuffer | serialize(java.lang.Float object)Transforms the given instance into its serial form. | 
public FloatSerializer()
public FloatSerializer(java.lang.ClassLoader classLoader)
 Parameter is ignored as Float is a base java type.
classLoader - the classloader to useSerializerpublic java.nio.ByteBuffer serialize(java.lang.Float object)
serialize in interface Serializer<java.lang.Float>object - the instance to serializepublic java.lang.Float read(java.nio.ByteBuffer binary)
read in interface Serializer<java.lang.Float>binary - the binary representation of the serial formpublic boolean equals(java.lang.Float object,
                      java.nio.ByteBuffer binary)
represent the same instance.equals in interface Serializer<java.lang.Float>object - the instance to checkbinary - the serial form to checktrue if both parameters represent equal instances, false otherwise