| Constructor and Description |
|---|
LiteralDelta(T value,
Serializer<T> serializer)
Constructs a literal with the given value.
|
| 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.
|
public LiteralDelta(T value, Serializer<T> serializer)
value - value to serializeserializer - value serializerpublic T update(T value)
DataDeltapublic void serialize(DataOutput output) throws java.io.IOException
DataDelta