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
MarshallerwritePayload in interface Marshaller<Integer>IOExceptionpublic Integer readPayload(DataInput dataIn) throws IOException
MarshallerreadPayload in interface Marshaller<Integer>IOExceptionpublic 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–2017 FuseSource, Corp.. All rights reserved.