@Override
  public boolean equals(Object o) {
    if (o instanceof ServerAndLoad) {
      ServerAndLoad sl = (ServerAndLoad) o;
      return this.compareTo(sl) == 0;
    }
    return false;
  }
Data structure that holds servername and 'load'.
hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/balancer/ServerAndLoad.java