public class OlderFilesFirst extends Object implements Comparator<org.apache.hadoop.fs.Path>, Serializable
| Constructor and Description |
|---|
OlderFilesFirst() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(org.apache.hadoop.fs.Path o1,
org.apache.hadoop.fs.Path o2)
Takes the ordering of path names from the normal string comparison
and negates it, so that names that come after other names in
the string sort come before here
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic int compare(org.apache.hadoop.fs.Path o1,
org.apache.hadoop.fs.Path o2)
compare in interface Comparator<org.apache.hadoop.fs.Path>o1 - leftmosto2 - rightmostCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.