@Override
  public int hashCode() {
    return Objects.hash(str, i);
  }
class for creating serializable object which is used for LocalMaxMemory verification.
geode-junit/src/main/java/org/apache/geode/internal/cache/PartitionedRegionTestHelper.java