@Override
  public boolean equals(Object obj) {
    if (obj instanceof TestObjectWithIdentifier) {
      TestObjectWithIdentifier other = (TestObjectWithIdentifier) obj;
      return name.equals(other.name) && Arrays.equals(bytes, other.bytes);
    } else {
      return false;
    }
  }
Object used for the put() operation as key and object. The objectIdentifier is used to provide a
predetermined hashcode for the object.
geode-junit/src/main/java/org/apache/geode/internal/cache/TestObjectWithIdentifier.java