Package de.danielbechler.diff
Class ObjectDiffer
java.lang.Object
de.danielbechler.diff.ObjectDiffer
This is the entry point for all comparisons. It determines the type of the given objects and passes them to
the appropriate
Differ.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ObjectDiffer
-
-
Method Details
-
compare
Recursively inspects the given objects and returns a node representing their differences. Both objects have be have the same type.- Parameters:
working- This object will be treated as the successor of the `base` object.base- This object will be treated as the predecessor of theworkingobject.- Returns:
- A node representing the differences between the given objects.
-