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