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 and Description
    `ModifTimeComparator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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

      `comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- - ### Constructor Detail

    - #### ModifTimeComparator

          public ModifTimeComparator()

  - ### Method Detail

    - #### 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>`

Copyright © 2021 The Apache Software Foundation. All rights reserved.