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