@Override
  public boolean equals(Object thatObject) {
    if (thatObject == null) {
      return false;
    }
    if (this == thatObject) {
      return true;
    }
    if (hashCode() != thatObject.hashCode()) {
      return false;
    }
    if (!(thatObject instanceof SimpleMutableByteRange)) {
      return false;
    }
    SimpleMutableByteRange that = (SimpleMutableByteRange) thatObject;
    return Bytes.equals(bytes, offset, length, that.bytes, that.offset, that.length);
  }
Create a new {@code ByteRange} over the provided {@code bytes}. The array to wrap. The offset
into {@code bytes} considered the beginning of this range. The length of this range.
hbase-common/src/main/java/org/apache/hadoop/hbase/util/SimpleMutableByteRange.java