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
Constructors Constructor Description ModifTimeComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
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
-
-
-
-
Method Detail
-
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>
-
-