Class DiffPatcher<T>

java.lang.Object
org.webcat.diff.DiffPatcher<T>

public class DiffPatcher<T> extends Object
  • Constructor Details

  • Method Details

    • getPatches

      public PatchList<T> getPatches()
    • apply

      public PatchApplication<T> apply(List<T> list)
      Merge a set of patches onto the list. Return a patched list, as well as an array of true/false values indicating which patches were applied.
      Parameters:
      list - Old list.
      Returns:
      Two element Object array, containing the new list and an array of boolean values.