org.test4j.tools.commons
类 TextDiffMatchPatch.Patch

java.lang.Object
  继承者 org.test4j.tools.commons.TextDiffMatchPatch.Patch
包容类:
TextDiffMatchPatch

public static class TextDiffMatchPatch.Patch
extends Object

Class representing one patch operation.


字段摘要
 LinkedList<TextDiffMatchPatch.Diff> diffs
           
 int length1
           
 int length2
           
 int start1
           
 int start2
           
 
构造方法摘要
TextDiffMatchPatch.Patch()
          Constructor.
 
方法摘要
 String toString()
          Emmulate GNU diff's format.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

diffs

public LinkedList<TextDiffMatchPatch.Diff> diffs

start1

public int start1

start2

public int start2

length1

public int length1

length2

public int length2
构造方法详细信息

TextDiffMatchPatch.Patch

public TextDiffMatchPatch.Patch()
Constructor. Initializes with an empty list of diffs.

方法详细信息

toString

public String toString()
Emmulate GNU diff's format. Header: @@ -382,8 +481,9 @@ Indicies are printed as 1-based, not 0-based.

覆盖:
Object 中的 toString
返回:
The GNU diff string.


Copyright © 2013. All rights reserved.