public static class DFSUtil.ServiceComparator extends Object implements Comparator<org.apache.hadoop.hdfs.protocol.DatanodeInfo>
Constructor and Description |
---|
DFSUtil.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
equals
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 © 2018 Apache Software Foundation. All Rights Reserved.