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