public class IteratorComparator<T> extends Object implements Comparator<Iterator<T>>
| Constructor and Description |
|---|
IteratorComparator(Comparator<? super T> elementComparator) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Iterator<T> it1,
Iterator<T> it2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic IteratorComparator(Comparator<? super T> elementComparator)