public class IterableComparator<T> extends Object implements Comparator<Iterable<T>>
| Constructor and Description |
|---|
IterableComparator() |
IterableComparator(Comparator<T> comparator) |
IterableComparator(Comparator<T> comparator,
boolean shorterFirst) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Iterable<T> a,
Iterable<T> b) |
static <T> int |
compareIterables(Iterable<T> a,
Iterable<T> b) |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic IterableComparator()
public IterableComparator(Comparator<T> comparator)
public IterableComparator(Comparator<T> comparator, boolean shorterFirst)