public abstract class AbstractDiffable<T extends Diffable<T>> extends Object implements Diffable<T>
| 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(StreamableReader<T> reader,
StreamInput in) |
Diff<T> |
readDiffFrom(StreamInput in)
Reads the
Diff from StreamInput |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadFrompublic Diff<T> diff(T previousState)
Diffablepublic Diff<T> readDiffFrom(StreamInput in) throws IOException
DiffableDiff from StreamInputreadDiffFrom in interface Diffable<T extends Diffable<T>>IOExceptionpublic static <T extends Diffable<T>> Diff<T> readDiffFrom(StreamableReader<T> reader, StreamInput in) throws IOException
IOExceptionpublic T get()
Copyright © 2009–2016. All rights reserved.