public class IntegerMarshaller extends Object implements Marshaller<Integer>
Modifier and Type | Field and Description |
---|---|
static IntegerMarshaller |
INSTANCE |
Constructor and Description |
---|
IntegerMarshaller() |
Modifier and Type | Method and Description |
---|---|
Integer |
deepCopy(Integer source) |
int |
getFixedSize() |
boolean |
isDeepCopySupported() |
Integer |
readPayload(DataInput dataIn)
Read the payload of the object from the DataInput stream.
|
void |
writePayload(Integer object,
DataOutput dataOut)
Write the payload of the object to the DataOutput stream.
|
public static final IntegerMarshaller INSTANCE
public IntegerMarshaller()
public void writePayload(Integer object, DataOutput dataOut) throws IOException
Marshaller
writePayload
in interface Marshaller<Integer>
IOException
public Integer readPayload(DataInput dataIn) throws IOException
Marshaller
readPayload
in interface Marshaller<Integer>
IOException
public int getFixedSize()
getFixedSize
in interface Marshaller<Integer>
public Integer deepCopy(Integer source)
deepCopy
in interface Marshaller<Integer>
public boolean isDeepCopySupported()
isDeepCopySupported
in interface Marshaller<Integer>
Marshaller.deepCopy(Object)
operations is supported.Copyright © 2005–2016. All rights reserved.