Class FileNameComparator
java.lang.Object
org.apache.sling.fsprovider.internal.mapper.FileNameComparator
- All Implemented Interfaces:
Comparator<File>
Comparator sorting files by filename. Intended to be used for
comparing sibling files (i.e. files within the same folder).
-
Field Summary
-
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<File>
-