Class LongClassSerializer
java.lang.Object
com.gigaspaces.internal.serialization.LongClassSerializer
- All Implemented Interfaces:
IClassSerializer<Long>
Serializer for long.
- 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, Long obj) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IClassSerializer
getDefaultValue
-
Constructor Details
-
LongClassSerializer
public LongClassSerializer()
-
-
Method Details
-
getCode
public byte getCode()- Specified by:
getCodein interfaceIClassSerializer<Long>
-
read
- Specified by:
readin interfaceIClassSerializer<Long>- Throws:
IOExceptionClassNotFoundException
-
write
- Specified by:
writein interfaceIClassSerializer<Long>- Throws:
IOException
-