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 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 interface Comparator<org.apache.hadoop.fs.FileStatus>