@Override
    public int hashCode() {
      if (hashCode == 0) {
        hashCode = id.hashCode();
        hashCode += 7 * "something".hashCode();
      }

      return hashCode;
    }
test remove and not equals Query
geode-core/src/integrationTest/java/org/apache/geode/cache/query/internal/index/HashIndexQueryIntegrationTest.java