Class FilenameComparator
- java.lang.Object
-
- org.silverpeas.core.index.indexing.model.FilenameComparator
-
- All Implemented Interfaces:
Serializable
,Comparator<File>
public class FilenameComparator extends Object implements Comparator<File>, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static FilenameComparator
comparator
-
Constructor Summary
Constructors Constructor Description FilenameComparator()
-
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
-
-
-
-
Field Detail
-
comparator
public static final FilenameComparator comparator
-
-
Method Detail
-
compare
public int compare(File file1, File file2)
- Specified by:
compare
in interfaceComparator<File>
-
-