A B C D E F G I N O S T

A

a - Variable in class org.incava.util.diff.Diff
The source list, AKA the "from" values.
append(Integer) - Method in class org.incava.util.diff.Diff
Adds the given value to the "end" of the threshold map, that is, with the greatest index/key.

B

b - Variable in class org.incava.util.diff.Diff
The target list, AKA the "to" values.

C

callFinishedA() - Method in class org.incava.util.diff.Diff
Override and return true in order to have finishedA invoked at the last element in the a array.
callFinishedB() - Method in class org.incava.util.diff.Diff
Override and return true in order to have finishedB invoked at the last element in the b array.

D

Diff<Type> - Class in org.incava.util.diff
Compares two lists, returning a list of the additions, changes, and deletions between them.
Diff(Type[], Type[], Comparator<Type>) - Constructor for class org.incava.util.diff.Diff
Constructs the Diff object for the two arrays, using the given comparator.
Diff(Type[], Type[]) - Constructor for class org.incava.util.diff.Diff
Constructs the Diff object for the two arrays, using the default comparison mechanism between the objects, such as equals and compareTo.
Diff(List<Type>, List<Type>, Comparator<Type>) - Constructor for class org.incava.util.diff.Diff
Constructs the Diff object for the two lists, using the given comparator.
Diff(List<Type>, List<Type>) - Constructor for class org.incava.util.diff.Diff
Constructs the Diff object for the two lists, using the default comparison mechanism between the objects, such as equals and compareTo.
diff() - Method in class org.incava.util.diff.Diff
Runs diff and returns the results.
Difference - Class in org.incava.util.diff
Represents a difference, as used in Diff.
Difference(int, int, int, int) - Constructor for class org.incava.util.diff.Difference
Creates the difference for the given start and end points for the deletion and addition.
diffs - Variable in class org.incava.util.diff.Diff
The list of differences, as Difference instances.

E

equals(Type, Type) - Method in class org.incava.util.diff.Diff
Compares the two objects, using the comparator provided with the constructor, if any.
equals(Object) - Method in class org.incava.util.diff.Difference
Compares this object to the other for equality.

F

finishedA(int) - Method in class org.incava.util.diff.Diff
Invoked at the last element in a, if callFinishedA returns true.
finishedB(int) - Method in class org.incava.util.diff.Diff
Invoked at the last element in b, if callFinishedB returns true.

G

getAddedEnd() - Method in class org.incava.util.diff.Difference
The point at which the addition ends, if any.
getAddedStart() - Method in class org.incava.util.diff.Difference
The point at which the addition starts, if any.
getDeletedEnd() - Method in class org.incava.util.diff.Difference
The point at which the deletion ends, if any.
getDeletedStart() - Method in class org.incava.util.diff.Difference
The point at which the deletion starts, if any.
getLastValue() - Method in class org.incava.util.diff.Diff
Returns the value for the greatest key in the map.
getLongestCommonSubsequences() - Method in class org.incava.util.diff.Diff
Returns an array of the longest common subsequences.

I

insert(Integer, Integer) - Method in class org.incava.util.diff.Diff
Inserts the given values into the threshold map.
isGreaterThan(Integer, Integer) - Method in class org.incava.util.diff.Diff
Returns whether the value in the map for the given index is greater than the given value.
isLessThan(Integer, Integer) - Method in class org.incava.util.diff.Diff
Returns whether the value in the map for the given index is less than the given value.
isNonzero(Integer) - Static method in class org.incava.util.diff.Diff
Returns whether the integer is not zero (including if it is not null).

N

NONE - Static variable in class org.incava.util.diff.Difference
 

O

onANotB(int, int) - Method in class org.incava.util.diff.Diff
Invoked for elements in a and not in b.
onBNotA(int, int) - Method in class org.incava.util.diff.Diff
Invoked for elements in b and not in a.
onMatch(int, int) - Method in class org.incava.util.diff.Diff
Invoked for elements matching in a and b.
org.incava.util.diff - package org.incava.util.diff
 

S

setAdded(int) - Method in class org.incava.util.diff.Difference
Sets the point as added.
setDeleted(int) - Method in class org.incava.util.diff.Difference
Sets the point as deleted.

T

toString() - Method in class org.incava.util.diff.Difference
Returns a string representation of this difference.
traverseSequences() - Method in class org.incava.util.diff.Diff
Traverses the sequences, seeking the longest common subsequences, invoking the methods finishedA, finishedB, onANotB, and onBNotA.

A B C D E F G I N O S T