uka.patch
Class NullPatchWriter
java.lang.Object
uka.patch.AbstractPatchWriter
uka.patch.NullPatchWriter
- All Implemented Interfaces:
- Constants
- public class NullPatchWriter
- extends AbstractPatchWriter
Ignores all calls to the AbstractPatchWriter
interface. This class is for benchmarking purposes only.
| Fields inherited from interface uka.patch.Constants |
CODE_BOOLEAN, CODE_DOUBLE, CODE_END_OF_PATCH, CODE_FLOAT, CODE_INT16, CODE_INT32, CODE_INT64, CODE_INT8, CODE_NOT_MODIFIED, CODE_NULL, CODE_PATCH_HEADER, CODE_REFERENCE, MAX_DISTRIBUTION_RECORDS |
| Methods inherited from class uka.patch.AbstractPatchWriter |
beginPatchRecord, endPatchRecord, flushUnmodified, write, write, write, write, write, write, write, write, writeNotModified, writeNull, writeReference |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullPatchWriter
public NullPatchWriter()
init
public void init(java.lang.Object root)
- Specified by:
init in class AbstractPatchWriter
clear
public void clear()
- Specified by:
clear in class AbstractPatchWriter
beginPatch
public void beginPatch()
- Specified by:
beginPatch in class AbstractPatchWriter
endPatch
public void endPatch()
- Specified by:
endPatch in class AbstractPatchWriter
encodeBeginPatch
protected void encodeBeginPatch()
- Specified by:
encodeBeginPatch in class AbstractPatchWriter
encodeEndPatch
protected void encodeEndPatch()
- Specified by:
encodeEndPatch in class AbstractPatchWriter
encodePatchHeader
protected void encodePatchHeader(int id)
- Specified by:
encodePatchHeader in class AbstractPatchWriter
encodeUnmodifiedCnt
protected void encodeUnmodifiedCnt(int cnt)
- Specified by:
encodeUnmodifiedCnt in class AbstractPatchWriter
encodeNull
protected void encodeNull()
- Specified by:
encodeNull in class AbstractPatchWriter
encodeReference
protected java.lang.Object encodeReference(java.lang.Object ref)
- Specified by:
encodeReference in class AbstractPatchWriter
encode
protected void encode(boolean value)
- Specified by:
encode in class AbstractPatchWriter
encode
protected void encode(byte value)
- Specified by:
encode in class AbstractPatchWriter
encode
protected void encode(char value)
- Specified by:
encode in class AbstractPatchWriter
encode
protected void encode(short value)
- Specified by:
encode in class AbstractPatchWriter
encode
protected void encode(int value)
- Specified by:
encode in class AbstractPatchWriter
encode
protected void encode(float value)
- Specified by:
encode in class AbstractPatchWriter
encode
protected void encode(long value)
- Specified by:
encode in class AbstractPatchWriter
encode
protected void encode(double value)
- Specified by:
encode in class AbstractPatchWriter
rawWriteInt
public void rawWriteInt(int value)
throws java.io.IOException
- Specified by:
rawWriteInt in class AbstractPatchWriter
- Throws:
java.io.IOException
getOutput
public MarshalStream getOutput(int rank)
throws java.io.IOException
- Specified by:
getOutput in class AbstractPatchWriter
- Throws:
java.io.IOException