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
Fields -
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
-
Field Details
-
INSTANCE
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<File>
-