@Override
  public int hashCode() {
    int hashCode = type.hashCode();
    for (Object o : values) {
      if (o != null) {
        hashCode ^= o.hashCode();
      }
    }
    return hashCode;
  }
Helper method, Returns field values, in case of PdxInstance gets the domain objects.
geode-core/src/main/java/org/apache/geode/cache/query/internal/StructImpl.java