@Override
  public boolean equals(Object other) {
    if (!(other instanceof StructSet)) {
      return false;
    }
    if (!structType.equals(((StructSet) other).structType)) {
      return false;
    }
    if (other.getClass() == StructSet.class) {
      return contents.equals(((StructSet) other).contents);
    } else {
      return false;
    }
  }
Creates a StructSet directly from a StructBag; (internal use)

@since GemFire 5.1
geode-core/src/main/java/org/apache/geode/cache/query/internal/StructSet.java