Class PathComparator
java.lang.Object
org.apache.jackrabbit.oak.plugins.document.PathComparator
- All Implemented Interfaces:
Serializable
,Comparator<Path>
Implements a comparator, which sorts paths according to 1) their depth
(highest first) and 2) the paths natural ordering.
- See Also:
-
Field Summary
Fields -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
INSTANCE
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<Path>
-