@Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null) {
      return false;
    }
    if (!(o instanceof HRegionLocation)) {
      return false;
    }
    return this.compareTo((HRegionLocation) o) == 0;
  }
@see java.lang.Object#equals(java.lang.Object)
hbase-client/src/main/java/org/apache/hadoop/hbase/HRegionLocation.java