public static class DefaultSerializer.BooleanSerializer extends Object implements TypeSerializer<Boolean>
| Constructor and Description |
|---|
DefaultSerializer.BooleanSerializer() |
| Modifier and Type | Method and Description |
|---|---|
byte |
getTypeId() |
boolean |
isSuitable(Object obj) |
int |
priority() |
Boolean |
read(FastByteArrayInputStream bbis) |
void |
write(FastByteArrayOutputStream bbos,
Boolean obj) |
public int priority()
priority in interface TypeSerializer<Boolean>public boolean isSuitable(Object obj)
isSuitable in interface TypeSerializer<Boolean>public byte getTypeId()
getTypeId in interface TypeSerializer<Boolean>public void write(FastByteArrayOutputStream bbos, Boolean obj) throws Exception
write in interface TypeSerializer<Boolean>Exceptionpublic Boolean read(FastByteArrayInputStream bbis) throws Exception
read in interface TypeSerializer<Boolean>ExceptionCopyright © 2013 Hazelcast, Inc.. All rights reserved.