@Override
  public int hashCode() {
    final int prime = 31;
    int result = 1;
    result = prime * result + ((dest == null) ? 0 : dest.hashCode());
    result = prime * result + ((hri == null) ? 0 : hri.hashCode());
    result = prime * result + ((source == null) ? 0 : source.hashCode());
    return result;
  }
Compare the region info.
@param other region plan you are comparing against
hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/RegionPlan.java