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<<any>> |
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<<any>> getComparators()
Traversal
/Comparator
-pairsCopyright © 2013–2021 Apache Software Foundation. All rights reserved.