- Diff(DiffMatchPatch.Operation, String) - Constructor for class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch.Diff
-
Constructor.
- diffCleanupEfficiency(LinkedList<DiffMatchPatch.Diff>) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Reduce the number of edits by eliminating operationally trivial equalities.
- diffCleanupMerge(LinkedList<DiffMatchPatch.Diff>) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Reorder and merge like edit sections.
- diffCleanupSemantic(LinkedList<DiffMatchPatch.Diff>) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Reduce the number of edits by eliminating semantically trivial equalities.
- diffCleanupSemanticLossless(LinkedList<DiffMatchPatch.Diff>) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Look for single edits surrounded on both sides by equalities which can be shifted sideways to align the edit to a
word boundary.
- diffCommonPrefix(String, String) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Determine the common prefix of two strings
- diffCommonSuffix(String, String) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Determine the common suffix of two strings
- diffEditCost - Variable in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Cost of an empty edit operation in terms of edit characters.
- diffFromDelta(String, String) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Given the original text1, and an encoded string which describes the operations required to transform text1 into
text2, compute the full diff.
- diffLevenshtein(LinkedList<DiffMatchPatch.Diff>) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Compute the Levenshtein distance; the number of inserted, deleted or substituted characters.
- diffMain(String, String) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Find the differences between two texts.
- diffMain(String, String, boolean) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Find the differences between two texts.
- DiffMatchPatch - Class in org.bitbucket.cowwoc.diffmatchpatch
-
Class containing the diff, match and patch methods.
- DiffMatchPatch() - Constructor for class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
- DiffMatchPatch.Diff - Class in org.bitbucket.cowwoc.diffmatchpatch
-
Class representing one diff operation.
- DiffMatchPatch.Operation - Enum in org.bitbucket.cowwoc.diffmatchpatch
-
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."
- DiffMatchPatch.Patch - Class in org.bitbucket.cowwoc.diffmatchpatch
-
Class representing one patch operation.
- diffPrettyHtml(LinkedList<DiffMatchPatch.Diff>) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Convert a Diff list into a pretty HTML report.
- diffs - Variable in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch.Patch
-
- diffText1(LinkedList<DiffMatchPatch.Diff>) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Compute and return the source text (all equalities and deletions).
- diffText2(LinkedList<DiffMatchPatch.Diff>) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Compute and return the destination text (all equalities and insertions).
- diffTimeout - Variable in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Number of seconds to map a diff before giving up (0 for infinity).
- diffToDelta(LinkedList<DiffMatchPatch.Diff>) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Crush the diff into an encoded string which describes the operations required to transform text1 into text2.
- diffXIndex(LinkedList<DiffMatchPatch.Diff>, int) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
loc is a location in text1, compute and return the equivalent location in text2.