de.danielbechler.diff
Interface ObjectDiffer

All Superinterfaces:
Configurable
All Known Subinterfaces:
DelegatingObjectDiffer

public interface ObjectDiffer
extends Configurable

Author:
Daniel Bechler

Method Summary
<T> Node
compare(T working, T base)
          Recursively inspects the given objects and returns a node representing their differences.
 
Methods inherited from interface de.danielbechler.diff.Configurable
getConfiguration
 

Method Detail

compare

<T> Node compare(T working,
                 T base)
Recursively inspects the given objects and returns a node representing their differences. Both objects have be have the same type.

Type Parameters:
T - The type of the objects to compare.
Parameters:
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.
Returns:
A node representing the differences between the given objects.


Copyright © 2012. All Rights Reserved.