Class Differ<T>

java.lang.Object
org.webcat.diff.Differ<T>
Type Parameters:
T - the type of object in the list

public class Differ<T> extends Object
This class performs a diff between two lists or arrays and returns a list of Diff objects that describe the differences.
  • Constructor Details

    • Differ

      public Differ(T[] text1, T[] text2)
    • Differ

      public Differ(T[] text1, T[] text2, Comparator<T> comp)
    • Differ

      public Differ(List<T> text1, List<T> text2)
    • Differ

      public Differ(List<T> text1, List<T> text2, Comparator<T> comp)
  • Method Details

    • getDifferences

      public DiffList<T> getDifferences()