| Constructor and Description |
|---|
ArrayDelta(ArrayFunctions<A> functions,
byte[] data)
Constructs an array diff with the given binary data.
|
ArrayDelta(ArrayFunctions<A> functions,
DataInput input)
Deserializes an array diff.
|
| Modifier and Type | Method and Description |
|---|---|
int |
length() |
void |
serialize(DataOutput output)
Serializes the diff to the given output stream.
|
java.lang.String |
toString() |
A |
update(A original)
Updates the given value.
|
public ArrayDelta(ArrayFunctions<A> functions, byte[] data)
functions - array functions implementationdata - binary datapublic ArrayDelta(ArrayFunctions<A> functions, DataInput input) throws java.io.IOException
functions - array functions implementationinput - input streamjava.io.IOException - if the input stream could not be readpublic void serialize(DataOutput output) throws java.io.IOException
DataDeltapublic int length()
public A update(A original)
DataDeltapublic java.lang.String toString()
toString in class java.lang.Object