public class FileNameComparator extends Object implements Comparator<File>, Serializable
Constructor and Description |
---|
FileNameComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(File file1,
File file2)
Compare filenames
|
equals, 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 int compare(File file1, File file2)
compare
in interface Comparator<File>
file1
- File1file2
- File2Copyright © 2020 City of Paris. All rights reserved.