@Override
  public int hashCode() {
    return calculateHashForKey(this);
  }
In line with {@link #equals(Object)}, only uses the key portion, not the value.
hbase-common/src/main/java/org/apache/hadoop/hbase/ByteBufferKeyValue.java