public final class LastModifiedComparator extends Object implements Comparator<File>
| Constructor and Description |
|---|
LastModifiedComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(File lhs,
File rhs) |
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 int compare(@NonNull
File lhs,
@NonNull
File rhs)
compare in interface Comparator<File>