Class DiffResult<T>

  • Type Parameters:
    T - type of the left and right object.
    All Implemented Interfaces:
    Iterable<Diff<?>>

    public class DiffResult<T>
    extends Object
    implements Iterable<Diff<?>>
    A DiffResult contains a collection of the differences between two Diffable objects. Typically these differences are displayed using toString() method, which returns a string describing the fields that differ between the objects.

    Use a DiffBuilder to build a DiffResult comparing two objects.

    Since:
    3.3