public final class ChainedComparator<S,C extends Comparable> extends Object implements Comparator<S>, Serializable, Cloneable
Constructor and Description |
---|
ChainedComparator(boolean traversers,
List<org.javatuples.Pair<Traversal.Admin<S,C>,Comparator<C>>> comparators) |
Modifier and Type | Method and Description |
---|---|
ChainedComparator<S,C> |
clone() |
int |
compare(S objectA,
S objectB) |
boolean |
isShuffle() |
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(boolean traversers, List<org.javatuples.Pair<Traversal.Admin<S,C>,Comparator<C>>> comparators)
public boolean isShuffle()
public int compare(S objectA, S objectB)
compare
in interface Comparator<S>
public ChainedComparator<S,C> clone()
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.