public final class MultiComparator<C> extends Object implements Comparator<C>, Serializable
| Constructor and Description |
|---|
MultiComparator(List<Comparator<C>> comparators) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(C objectA,
C objectB) |
boolean |
isShuffle() |
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 MultiComparator(List<Comparator<C>> comparators)
public int compare(C objectA, C objectB)
compare in interface Comparator<C>public boolean isShuffle()
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.