Package com.ibm.icu.impl
Class Differ<T>
- java.lang.Object
-
- com.ibm.icu.impl.Differ<T>
-
public final class Differ<T> extends Object
VERY Basic Diff program. Compares two sequences of objects fed into it, and lets you know where they are different.
-
-
Constructor Summary
Constructors Constructor Description Differ(int stackSize, int matchCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(T aStr, T bStr)voidaddA(T aStr)voidaddB(T bStr)voidcheckMatch(boolean finalPass)intfind(T[] aArr, int aStart, int aEnd, T[] bArr, int bStart, int bEnd)Convenient utility finds a segment of the first array in the second array.TgetA(int offset)intgetACount()intgetALine(int offset)TgetB(int offset)intgetBCount()intgetBLine(int offset)
-
-
-
Method Detail
-
addA
public void addA(T aStr)
-
addB
public void addB(T bStr)
-
getALine
public int getALine(int offset)
-
getA
public T getA(int offset)
-
getACount
public int getACount()
-
getBCount
public int getBCount()
-
getBLine
public int getBLine(int offset)
-
getB
public T getB(int offset)
-
checkMatch
public void checkMatch(boolean finalPass)
-
-