- <init>
Constructs a new CollatingIterator that will use the specified comparator to
provide ordered iterati
- addIterator
Adds the given Iterator to the iterators being collated.
- hasNext
Returns true if any child iterator has remaining elements.
- setComparator
Sets the Comparator by which collation occurs.
- anyHasNext
Returns true iff any Iterator in the given list has a next value.
- anyValueSet
Returns true iff any bit in the given set istrue.
- checkNotStarted
Throws IllegalStateException if iteration has started via #start.
- clear
Clears the #values and #valueSet attributes at position i.
- least
Returns the index of the least element in #values, #set(int) any uninitialized
values.
- set
Sets the #values and #valueSet attributes at position i to the next value of the
#iterators at posit
- getComparator
Gets the Comparator by which collatation occurs.
- next
Returns the next ordered element from a child iterator.