@Override
  public ByteRange set(byte[] bytes, int offset, int length) {
    if (null == bytes) {
      return unset();
    }

    clearHashCache();
    this.bytes = bytes;
    this.offset = offset;
    this.length = length;
    return this;
  }
Variable for lazy-caching the hashCode of this range. Useful for frequently used ranges,
long-lived ranges, or long ranges.
hbase-common/src/main/java/org/apache/hadoop/hbase/util/AbstractByteRange.java