Class DepthComparator
java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.util.DepthComparator
- All Implemented Interfaces:
Comparator<Step<?,?>>
A
Comparator that compares steps on the depth of the traversal that they are in.-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Method Details
-
instance
-
compare
- Specified by:
comparein interfaceComparator<Step<?,?>>
-