T - value typepublic interface DataDiff<T>
| Modifier and Type | Method and Description |
|---|---|
void |
serialize(DataOutput output)
Serializes the diff to the given output stream.
|
T |
update(T value)
Updates the given value.
|
T update(T value)
value - original valuevoid serialize(DataOutput output) throws java.io.IOException
output - output streamjava.io.IOException - if an I/O error occurs