D E H I L M O P S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
D
- DELETE - org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch.Operation
- Diff(DiffMatchPatch.Operation, String) - Constructor for class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch.Diff
-
Constructor.
- diffBisect(String, String, long) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Find the 'middle snake' of a diff, split the problem in two and return the recursively constructed diff.
- diffCharsToLines(List<DiffMatchPatch.Diff>, List<String>) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Rehydrate the text in a diff from a string of line hashes to real lines of text.
- 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.
- diffHalfMatch(String, String) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Do the two texts share a substring which is at least half the length of the longer text? This speedup can produce non-minimal diffs.
- diffLevenshtein(List<DiffMatchPatch.Diff>) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Compute the Levenshtein distance; the number of inserted, deleted or substituted characters.
- diffLinesToChars(String, String) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Split two texts into a list of strings.
- 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(List<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(List<DiffMatchPatch.Diff>) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Compute and return the source text (all equalities and deletions).
- diffText2(List<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(List<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(List<DiffMatchPatch.Diff>, int) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
locis a location in text1, compute and return the equivalent location in text2.
E
- EQUAL - org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch.Operation
- equals(Object) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch.Diff
-
Is this Diff equivalent to another Diff?
H
- hashCode() - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch.Diff
-
Create a numeric hash value for a Diff.
I
- INSERT - org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch.Operation
L
- length1 - Variable in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch.Patch
- length2 - Variable in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch.Patch
M
- matchDistance - Variable in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
How far to search for a match (0 = exact location, 1000+ = broad match).
- matchMain(String, String, int) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Locate the best instance of 'pattern' in 'text' near 'loc'.
- matchThreshold - Variable in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
At what point is no match declared (0.0 = perfection, 1.0 = very loose).
O
- operation - Variable in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch.Diff
-
One of: INSERT, DELETE or EQUAL.
- org.bitbucket.cowwoc.diffmatchpatch - package org.bitbucket.cowwoc.diffmatchpatch
P
- Patch() - Constructor for class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch.Patch
-
Constructor.
- patchAddContext(DiffMatchPatch.Patch, String) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Increase the context until it is unique, but don't let the pattern expand beyond
MATCH_MAX_BITS. - patchApply(LinkedList<DiffMatchPatch.Patch>, String) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Merge a set of patches onto the text.
- patchDeepCopy(LinkedList<DiffMatchPatch.Patch>) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Given an array of patches, return another array that is identical.
- patchDeleteThreshold - Variable in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
When deleting a large block of text (over ~64 characters), how close do the contents have to be to match the expected contents.
- patchFromText(String) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Parse a textual representation of patches and return a List of
Patchobjects. - patchMake(String, String) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Compute a list of patches to turn text1 into text2.
- patchMake(String, String, LinkedList<DiffMatchPatch.Diff>) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Deprecated.
- patchMake(String, LinkedList<DiffMatchPatch.Diff>) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Compute a list of patches to turn text1 into text2.
- patchMake(LinkedList<DiffMatchPatch.Diff>) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Compute a list of patches to turn text1 into text2.
- patchMargin - Variable in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Chunk size for context length.
- patchToText(List<DiffMatchPatch.Patch>) - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch
-
Take a list of patches and return a textual representation.
S
- start1 - Variable in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch.Patch
- start2 - Variable in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch.Patch
T
- text - Variable in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch.Diff
-
The text associated with this diff operation.
- toString() - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch.Diff
-
Display a human-readable version of this Diff.
- toString() - Method in class org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch.Patch
-
Emulate GNU diff's format.
V
- valueOf(String) - Static method in enum org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch.Operation
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.bitbucket.cowwoc.diffmatchpatch.DiffMatchPatch.Operation
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages