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