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