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