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, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public 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–2024 Apache Software Foundation. All rights reserved.