public class LastModifiedTimeFileComparator extends Object implements Comparator<File>
| Constructor and Description |
|---|
LastModifiedTimeFileComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(File o1,
File o2)
Compare two files based on file modification time.
|
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(File o1, File o2)
compare in interface Comparator<File>o1 - The first file to be compared.o2 - The second file to be compared.Copyright © 2025 Open Identity Platform Community. All rights reserved.