Package org.webcat.diff
package org.webcat.diff
-
ClassDescriptionDiff<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."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 of
Diff
objects that provides additional methods for operating on the list or reconstituting the original lists.DiffMatcher<T>DiffPatcher<T>Patch<T>Class representing one patch Diff.Operation.PatchList<T>A linked list ofPatch
objects, providing additional utility methods as well.