Package org.ehcache.impl.serialization
Class FloatSerializer
java.lang.Object
org.ehcache.impl.serialization.FloatSerializer
- All Implemented Interfaces:
org.ehcache.spi.serialization.Serializer<Float>
public class FloatSerializer
extends Object
implements org.ehcache.spi.serialization.Serializer<Float>
Default
Serializer for Float type. Simply writes the float value
to a byte buffer.-
Constructor Summary
ConstructorsConstructorDescriptionNo arg constructorFloatSerializer(ClassLoader classLoader) Constructor to enable this serializer as a transient one. -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(Float object, ByteBuffer binary) read(ByteBuffer binary)
-
Constructor Details
-
FloatSerializer
public FloatSerializer()No arg constructor -
FloatSerializer
Constructor to enable this serializer as a transient one.Parameter is ignored as
Floatis a base java type.- Parameters:
classLoader- the classloader to use- See Also:
-
Serializer
-
-
Method Details