Package ordering
Class FileComparator
java.lang.Object
ordering.FileComparator
- All Implemented Interfaces:
Comparator<File>
Compares two
files
using their last modified timestamp.- Author:
- Afonso Caniço, Afonso Sampaio, Gustavo Ferreira, Samuel Correia
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
FileComparator
public FileComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<File>
-