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