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