Uses of Class
fr.becpg.common.diff.Diff
Packages that use Diff
-
Uses of Diff in fr.becpg.common.diff
Methods in fr.becpg.common.diff that return types with arguments of type DiffModifier and TypeMethodDescriptionDiffMatchPatch.diffBisect(String text1, String text2, long deadline) Find the 'middle snake' of a diff, split the problem in two and return the recursively constructed diff.DiffMatchPatch.diffBisectSplit(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.DiffMatchPatch.diffCompute(String text1, String text2, boolean checklines, long deadline) Find the differences between two texts.DiffMatchPatch.diffLineMode(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.Find the differences between two texts.Method parameters in fr.becpg.common.diff with type arguments of type DiffModifier and TypeMethodDescriptionprivate voidDiffMatchPatch.diffCharsToLines(List<Diff> diffs, List<String> lineArray) Rehydrate the dmp in a diff from a string of line hashes to real lines of dmp.private voidDiffMatchPatch.diffCleanupMerge(List<Diff> diffs) Reorder and merge like edit sections.private voidDiffMatchPatch.diffCleanupSemantic(List<Diff> diffs) Reduce the number of edits by eliminating semantically trivial equalities.private voidDiffMatchPatch.diffcleanupSemanticLossless(List<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.DiffMatchPatch.diffPrettyHtml(List<Diff> diffs) Convert a Diff list into a pretty HTML report.