public class FileNameComparator extends Object implements Comparator<File>
| Modifier and Type | Field and Description |
|---|---|
static Comparator<File> |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(File f1,
File f2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static final Comparator<File> INSTANCE
public int compare(File f1, File f2)
compare in interface Comparator<File>Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.