Package org.apache.storm.hdfs.common
Class ModifTimeComparator
java.lang.Object
org.apache.storm.hdfs.common.ModifTimeComparator
- All Implemented Interfaces:
Comparator<org.apache.hadoop.fs.FileStatus>
public class ModifTimeComparator
extends Object
implements Comparator<org.apache.hadoop.fs.FileStatus>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compare
(org.apache.hadoop.fs.FileStatus o1, org.apache.hadoop.fs.FileStatus o2) 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
-
ModifTimeComparator
public ModifTimeComparator()
-
-
Method Details
-
compare
public int compare(org.apache.hadoop.fs.FileStatus o1, org.apache.hadoop.fs.FileStatus o2) - Specified by:
compare
in interfaceComparator<org.apache.hadoop.fs.FileStatus>
-