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, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public MultiComparator(List<Comparator<C>> comparators)
public int compare(C objectA, C objectB)
compare
in interface Comparator<C>
public boolean isShuffle()
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.