public class FilenameComparator extends Object implements Comparator<File>
Modifier and Type | Field and Description |
---|---|
static FilenameComparator |
INSTANCE |
Constructor and Description |
---|
FilenameComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(File o1,
File o2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final FilenameComparator INSTANCE
public int compare(File o1, File o2)
compare
in interface Comparator<File>
Copyright © 1995-2019 Mort Bay Consulting. All Rights Reserved.