类 org.test4j.tools.commons.TextDiffMatchPatch.Patch
的使用

使用 TextDiffMatchPatch.Patch 的软件包
org.test4j.tools.commons   
 

org.test4j.tools.commonsTextDiffMatchPatch.Patch 的使用
 

返回变量类型为 TextDiffMatchPatch.Patch 的类型的 org.test4j.tools.commons 中的方法
 LinkedList<TextDiffMatchPatch.Patch> TextDiffMatchPatch.patch_deepCopy(LinkedList<TextDiffMatchPatch.Patch> patches)
          Given an array of patches, return another array that is identical.
 List<TextDiffMatchPatch.Patch> TextDiffMatchPatch.patch_fromText(String textline)
          Parse a textual representation of patches and return a List of Patch objects.
 LinkedList<TextDiffMatchPatch.Patch> TextDiffMatchPatch.patch_make(LinkedList<TextDiffMatchPatch.Diff> diffs)
          Compute a list of patches to turn text1 into text2. text1 will be derived from the provided diffs.
 LinkedList<TextDiffMatchPatch.Patch> TextDiffMatchPatch.patch_make(String text1, LinkedList<TextDiffMatchPatch.Diff> diffs)
          Compute a list of patches to turn text1 into text2. text2 is not provided, diffs are the delta between text1 and text2.
 LinkedList<TextDiffMatchPatch.Patch> TextDiffMatchPatch.patch_make(String text1, String text2)
          Compute a list of patches to turn text1 into text2.
 LinkedList<TextDiffMatchPatch.Patch> TextDiffMatchPatch.patch_make(String text1, String text2, LinkedList<TextDiffMatchPatch.Diff> diffs)
          已过时。 Prefer patch_make(String text1, LinkedList diffs).
 

参数类型为 TextDiffMatchPatch.Patchorg.test4j.tools.commons 中的方法
protected  void TextDiffMatchPatch.patch_addContext(TextDiffMatchPatch.Patch patch, String text)
          Increase the context until it is unique, but don't let the pattern expand beyond Match_MaxBits.
 

类型变量类型为 TextDiffMatchPatch.Patchorg.test4j.tools.commons 中的方法参数
 String TextDiffMatchPatch.patch_addPadding(LinkedList<TextDiffMatchPatch.Patch> patches)
          Add some padding on text start and end so that edges can match something.
 Object[] TextDiffMatchPatch.patch_apply(LinkedList<TextDiffMatchPatch.Patch> patches, String text)
          Merge a set of patches onto the text.
 LinkedList<TextDiffMatchPatch.Patch> TextDiffMatchPatch.patch_deepCopy(LinkedList<TextDiffMatchPatch.Patch> patches)
          Given an array of patches, return another array that is identical.
 void TextDiffMatchPatch.patch_splitMax(LinkedList<TextDiffMatchPatch.Patch> patches)
          Look through the patches and break up any which are longer than the maximum limit of the match algorithm.
 String TextDiffMatchPatch.patch_toText(List<TextDiffMatchPatch.Patch> patches)
          Take a list of patches and return a textual representation.
 



Copyright © 2013. All rights reserved.