Class BooleanClassSerializer
java.lang.Object
com.gigaspaces.internal.serialization.BooleanClassSerializer
- All Implemented Interfaces:
IClassSerializer<Boolean>
Serializer for Boolean.
- Since:
- 7.1
- Author:
- Niv Ingberg
-
Field Summary
Fields inherited from interface IClassSerializer
CODE_BOOLEAN, CODE_BYTE, CODE_BYTE_ARRAY, CODE_CHARACTER, CODE_DOUBLE, CODE_FLOAT, CODE_HASHMAP, CODE_INTEGER, CODE_LONG, CODE_NULL, CODE_OBJECT, CODE_SHORT, CODE_SMART_EXTERNALIZABLE, CODE_STRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbytegetCode()read(ObjectInput in) voidwrite(ObjectOutput out, Boolean obj) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IClassSerializer
getDefaultValue
-
Constructor Details
-
BooleanClassSerializer
public BooleanClassSerializer()
-
-
Method Details
-
getCode
public byte getCode()- Specified by:
getCodein interfaceIClassSerializer<Boolean>
-
read
- Specified by:
readin interfaceIClassSerializer<Boolean>- Throws:
IOExceptionClassNotFoundException
-
write
- Specified by:
writein interfaceIClassSerializer<Boolean>- Throws:
IOException
-