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