Class NodeDocumentIdComparator
java.lang.Object
org.apache.jackrabbit.oak.plugins.document.NodeDocumentIdComparator
- All Implemented Interfaces:
Comparator<String>
Implements a comparator, which sorts NodeDocumentId string according to 1) their
depth (highest first) and 2) the id string itself.
-
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<String>
-