public class ShortPrimitiveClassSerializer extends Object implements IClassSerializer<Short>
Modifier and Type | Field and Description |
---|---|
static ShortPrimitiveClassSerializer |
instance |
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
Modifier and Type | Method and Description |
---|---|
byte |
getCode() |
Short |
getDefaultValue() |
Short |
read(ObjectInput in) |
void |
write(ObjectOutput out,
Short obj) |
public static final ShortPrimitiveClassSerializer instance
public byte getCode()
getCode
in interface IClassSerializer<Short>
public Short read(ObjectInput in) throws IOException, ClassNotFoundException
read
in interface IClassSerializer<Short>
IOException
ClassNotFoundException
public void write(ObjectOutput out, Short obj) throws IOException
write
in interface IClassSerializer<Short>
IOException
public Short getDefaultValue()
getDefaultValue
in interface IClassSerializer<Short>
Copyright © GigaSpaces.