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