public final class TraversalComparator<S,E> extends Object implements Comparator<S>, Serializable, Cloneable
Constructor and Description |
---|
TraversalComparator(Traversal.Admin<S,E> traversal,
Comparator<E> comparator) |
Modifier and Type | Method and Description |
---|---|
TraversalComparator |
clone() |
int |
compare(S start1,
S start2) |
Traversal.Admin<S,E> |
getTraversal() |
String |
toString() |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public TraversalComparator(Traversal.Admin<S,E> traversal, Comparator<E> comparator)
public int compare(S start1, S start2)
compare
in interface Comparator<S>
public TraversalComparator clone()
public Traversal.Admin<S,E> getTraversal()
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.