@Override
  public int hashCode() {
    return Objects.hash(value, unit);
  }
get the value which is converted to specified unit.
@param unit size unit
@return the converted value
hbase-client/src/main/java/org/apache/hadoop/hbase/Size.java