Package org.javlo.ztatic
Class StaticInfoFile.StaticFileSort
- java.lang.Object
-
- org.javlo.ztatic.StaticInfoFile.StaticFileSort
-
- All Implemented Interfaces:
Comparator<File>
- Enclosing class:
- StaticInfoFile
public static class StaticInfoFile.StaticFileSort extends Object implements Comparator<File>
-
-
Constructor Summary
Constructors Constructor Description StaticFileSort(ContentContext inCtx, boolean inAscending)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(File file1, File file2)
-
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
-
-
-
-
Constructor Detail
-
StaticFileSort
public StaticFileSort(ContentContext inCtx, boolean inAscending)
-
-
Method Detail
-
compare
public int compare(File file1, File file2)
- Specified by:
compare
in interfaceComparator<File>
-
-