@Override
  public boolean equals(Object obj) {
    return obj == this
        || (obj != null
            && obj.getClass() == this.getClass()
            && ((MemorySize) obj).bytes == this.bytes);
  }
Gets the memory size in Tebibytes (= 1024 Gibibytes).
amoro-common/src/main/java/org/apache/amoro/utils/MemorySize.java