| java.lang.Object com.ibm.icu.dev.test.util.Differ
Differ | final public class Differ (Code) | | VERY Basic Diff program. Compares two sequences of objects fed into it, and
lets you know where they are different.
author: Mark Davis version: 1.0 |
Constructor Summary | |
public | Differ(int stackSize, int matchCount) |
Differ | public Differ(int stackSize, int matchCount)(Code) | | Parameters: stackSize - The size of the largest difference you expect. Parameters: matchCount - The number of items that have to be the same to count as a match |
checkMatch | public void checkMatch(boolean finalPass)(Code) | | |
find | public int find(Object[] a, int aStart, int aEnd, Object[] b, int bStart, int bEnd)(Code) | | Convenient utility
finds a segment of the first array in the second array.
-1 if not found, otherwise start position in b |
getACount | public int getACount()(Code) | | |
getALine | public int getALine(int offset)(Code) | | |
getBCount | public int getBCount()(Code) | | |
getBLine | public int getBLine(int offset)(Code) | | |
|
|