public class ObjectDiffer
extends java.lang.Object
Differ
.Constructor and Description |
---|
ObjectDiffer(DifferDispatcher differDispatcher) |
Modifier and Type | Method and Description |
---|---|
<T> DiffNode |
compare(T working,
T base)
Recursively inspects the given objects and returns a node representing their differences.
|
public ObjectDiffer(DifferDispatcher differDispatcher)
public <T> DiffNode compare(T working, T base)
working
- This object will be treated as the successor of the `base` object.base
- This object will be treated as the predecessor of the working
object.