@Override
  public boolean equals(Object o) {
    if (o == null || !(o instanceof TableSplit)) {
      return false;
    }
    return tableName.equals(((TableSplit) o).tableName)
      && Bytes.equals(startRow, ((TableSplit) o).startRow)
      && Bytes.equals(endRow, ((TableSplit) o).endRow)
      && regionLocation.equals(((TableSplit) o).regionLocation);
  }
Compares this split against the given one.
@param split The split to compare to.
@return The result of the comparison.
@see java.lang.Comparable#compareTo(java.lang.Object)
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableSplit.java