Class IteratorComparator<T>

  • All Implemented Interfaces:
    Comparator<Iterator<T>>

    public class IteratorComparator<T>
    extends Object
    implements Comparator<Iterator<T>>
    INTERNAL: Comparator for Iterators. Compares each element in turn until the end of one Iterator is reached. Then, if one Iterator contains fewer elements than the other, it is ordered first.