Uses of Class
at.letto.tools.diff_match_patch.Diff
Packages that use diff_match_patch.Diff
Package
Description
Package mit Tools, welche ohne Verbindung zu den anderen Letto-Komponenten funktioniert und in allen
Microservices von Letto eingebunden werden sollte.
-
Uses of diff_match_patch.Diff in at.letto.tools
Fields in at.letto.tools with type parameters of type diff_match_patch.DiffMethods in at.letto.tools that return types with arguments of type diff_match_patch.DiffModifier and TypeMethodDescriptionprotected LinkedList<diff_match_patch.Diff> diff_match_patch.diff_bisect(String text1, String text2, long deadline) Find the 'middle snake' of a diff, split the problem in two and return the recursively constructed diff.private LinkedList<diff_match_patch.Diff> diff_match_patch.diff_bisectSplit(String text1, String text2, int x, int y, long deadline) Given the location of the 'middle snake', split the diff in two parts and recurse.private LinkedList<diff_match_patch.Diff> diff_match_patch.diff_compute(String text1, String text2, boolean checklines, long deadline) Find the differences between two texts.diff_match_patch.diff_fromDelta(String text1, String delta) Given the original text1, and an encoded string which describes the operations required to transform text1 into text2, compute the full diff.private LinkedList<diff_match_patch.Diff> diff_match_patch.diff_lineMode(String text1, String text2, long deadline) Do a quick line-level diff on both strings, then rediff the parts for greater accuracy.Find the differences between two texts.Find the differences between two texts.private LinkedList<diff_match_patch.Diff> Find the differences between two texts.Method parameters in at.letto.tools with type arguments of type diff_match_patch.DiffModifier and TypeMethodDescriptionprotected voiddiff_match_patch.diff_charsToLines(LinkedList<diff_match_patch.Diff> diffs, List<String> lineArray) Rehydrate the text in a diff from a string of line hashes to real lines of text.voiddiff_match_patch.diff_cleanupEfficiency(LinkedList<diff_match_patch.Diff> diffs) Reduce the number of edits by eliminating operationally trivial equalities.voiddiff_match_patch.diff_cleanupMerge(LinkedList<diff_match_patch.Diff> diffs) Reorder and merge like edit sections.voiddiff_match_patch.diff_cleanupSemantic(LinkedList<diff_match_patch.Diff> diffs) Reduce the number of edits by eliminating semantically trivial equalities.voiddiff_match_patch.diff_cleanupSemanticLossless(LinkedList<diff_match_patch.Diff> diffs) Look for single edits surrounded on both sides by equalities which can be shifted sideways to align the edit to a word boundary.intdiff_match_patch.diff_levenshtein(LinkedList<diff_match_patch.Diff> diffs) Compute the Levenshtein distance; the number of inserted, deleted or substituted characters.diff_match_patch.diff_prettyHtml(LinkedList<diff_match_patch.Diff> diffs) Convert a Diff list into a pretty HTML report.diff_match_patch.diff_text1(LinkedList<diff_match_patch.Diff> diffs) Compute and return the source text (all equalities and deletions).diff_match_patch.diff_text2(LinkedList<diff_match_patch.Diff> diffs) Compute and return the destination text (all equalities and insertions).diff_match_patch.diff_toDelta(LinkedList<diff_match_patch.Diff> diffs) Crush the diff into an encoded string which describes the operations required to transform text1 into text2.intdiff_match_patch.diff_xIndex(LinkedList<diff_match_patch.Diff> diffs, int loc) loc is a location in text1, compute and return the equivalent location in text2.diff_match_patch.patch_make(String text1, String text2, LinkedList<diff_match_patch.Diff> diffs) Deprecated.Prefer patch_make(String text1, LinkedList<Diff> diffs).diff_match_patch.patch_make(String text1, LinkedList<diff_match_patch.Diff> diffs) Compute a list of patches to turn text1 into text2.diff_match_patch.patch_make(LinkedList<diff_match_patch.Diff> diffs) Compute a list of patches to turn text1 into text2.