public abstract class AbstractDiffable<T extends Diffable<T>> extends java.lang.Object implements Diffable<T>
Writeable.Reader<V>, Writeable.Writer<V>
Constructor and Description |
---|
AbstractDiffable() |
Modifier and Type | Method and Description |
---|---|
Diff<T> |
diff(T previousState)
Returns serializable object representing differences between this and previousState
|
T |
get() |
static <T extends Diffable<T>> |
readDiffFrom(Writeable.Reader<T> reader,
StreamInput in) |
public Diff<T> diff(T previousState)
Diffable
public static <T extends Diffable<T>> Diff<T> readDiffFrom(Writeable.Reader<T> reader, StreamInput in) throws java.io.IOException
java.io.IOException
public T get()