Package org.webcat.diff
-
Class Summary Class Description Diff<T> Class representing one diff operation.Differ<T> This class performs a diff between two lists or arrays and returns a list of Diff objects that describe the differences.DiffList<T> A linked list ofDiff
objects that provides additional methods for operating on the list or reconstituting the original lists.DiffMatcher<T> DiffPatcher<T> DiffUtils Patch<T> Class representing one patch Diff.Operation.PatchApplication<T> PatchList<T> A linked list ofPatch
objects, providing additional utility methods as well. -
Enum Summary Enum Description 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."