public interface ComparatorHolder<S,C extends Comparable>
Modifier and Type | Method and Description |
---|---|
void |
addComparator(Traversal.Admin<S,C> traversal,
Comparator<C> comparator)
Add a
Traversal -based Comparator to the holder. |
List<org.javatuples.Pair<Traversal.Admin<S,C>,Comparator<C>>> |
getComparators()
Get the comparators associated with this holder.
|
void addComparator(Traversal.Admin<S,C> traversal, Comparator<C> comparator)
traversal
- the traversal to pre-process the object by.comparator
- the comparator to compare the result of the object after traversal processingList<org.javatuples.Pair<Traversal.Admin<S,C>,Comparator<C>>> getComparators()
Traversal
/Comparator
-pairsCopyright © 2013–2022 Apache Software Foundation. All rights reserved.