org.apache.kahadb.util
Class SequenceSet.Marshaller
java.lang.Object
org.apache.kahadb.util.SequenceSet.Marshaller
- All Implemented Interfaces:
- Marshaller<SequenceSet>
- Enclosing class:
- SequenceSet
public static class SequenceSet.Marshaller
- extends Object
- implements Marshaller<SequenceSet>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final SequenceSet.Marshaller INSTANCE
SequenceSet.Marshaller
public SequenceSet.Marshaller()
readPayload
public SequenceSet readPayload(DataInput in)
throws IOException
- Description copied from interface:
Marshaller
- Read the payload of the object from the DataInput stream.
- Specified by:
readPayload
in interface Marshaller<SequenceSet>
- Returns:
- unmarshalled object
- Throws:
IOException
writePayload
public void writePayload(SequenceSet value,
DataOutput out)
throws IOException
- Description copied from interface:
Marshaller
- Write the payload of the object to the DataOutput stream.
- Specified by:
writePayload
in interface Marshaller<SequenceSet>
- Throws:
IOException
getFixedSize
public int getFixedSize()
- Specified by:
getFixedSize
in interface Marshaller<SequenceSet>
- Returns:
- -1 if the object do not always marshall to a fixed size, otherwise return that fixed size.
deepCopy
public SequenceSet deepCopy(SequenceSet value)
- Specified by:
deepCopy
in interface Marshaller<SequenceSet>
- Returns:
- a deep copy of the source object.
isDeepCopySupported
public boolean isDeepCopySupported()
- Specified by:
isDeepCopySupported
in interface Marshaller<SequenceSet>
- Returns:
- true if the
Marshaller.deepCopy(Object)
operations is supported.
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.