| Modifier and Type | Field and Description |
|---|---|
static IntegerCodec |
INSTANCE |
| Constructor and Description |
|---|
IntegerCodec() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
decode(DataInput dataIn)
Read the payload of the object from the DataInput stream.
|
Integer |
deepCopy(Integer source) |
void |
encode(Integer object,
DataOutput dataOut)
Write the payload of the object to the DataOutput stream.
|
int |
estimatedSize(Integer object) |
int |
getFixedSize() |
boolean |
isDeepCopySupported() |
boolean |
isEstimatedSizeSupported() |
public static final IntegerCodec INSTANCE
public void encode(Integer object, DataOutput dataOut) throws IOException
Codecencode in interface Codec<Integer>IOExceptionpublic Integer decode(DataInput dataIn) throws IOException
Codecdecode in interface Codec<Integer>IOExceptionpublic int getFixedSize()
getFixedSize in interface Codec<Integer>public boolean isDeepCopySupported()
isDeepCopySupported in interface Codec<Integer>Codec.deepCopy(Object) operations is supported.public boolean isEstimatedSizeSupported()
isEstimatedSizeSupported in interface Codec<Integer>Codec.estimatedSize(Object) operation is supported.public int estimatedSize(Integer object)
estimatedSize in interface Codec<Integer>Copyright © 2010–2025 FuseSource, Corp.. All rights reserved.