compare


Description:

public int compare (SequenceIter<G> other)

Returns a negative number if this comes before b, 0 if they are equal, and a positive number if this comes after b.

The this and b iterators must point into the same sequence.

Parameters:

this

a SequenceIter

b

a SequenceIter

Returns:

a negative number if this comes before b, 0 if they are equal, and a positive number if this comes after b