public static class DFSUtil.ServiceComparator extends Object implements Comparator<org.apache.hadoop.hdfs.protocol.DatanodeInfo>
| Constructor and Description | 
|---|
| ServiceComparator() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compare(org.apache.hadoop.hdfs.protocol.DatanodeInfo a,
       org.apache.hadoop.hdfs.protocol.DatanodeInfo b) | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(org.apache.hadoop.hdfs.protocol.DatanodeInfo a,
                   org.apache.hadoop.hdfs.protocol.DatanodeInfo b)
compare in interface Comparator<org.apache.hadoop.hdfs.protocol.DatanodeInfo>Copyright © 2008–2023 Apache Software Foundation. All rights reserved.