Package org.webcat.diff


package org.webcat.diff
  • Class
    Description
    Diff<T>
    Class representing one diff operation.
    The data structure representing a diff is a Linked list of Diff objects: {Diff(Operation.DELETE, "Hello"), Diff(Operation.INSERT, "Goodbye"), Diff(Operation.EQUAL, " world.")} which means: delete "Hello", add "Goodbye" and keep " world."
    This class performs a diff between two lists or arrays and returns a list of Diff objects that describe the differences.
    A linked list of Diff objects that provides additional methods for operating on the list or reconstituting the original lists.
     
     
     
    Class representing one patch Diff.Operation.
     
    A linked list of Patch objects, providing additional utility methods as well.