@Override
  public void fromData(DataInput in,
      DeserializationContext context) throws IOException, ClassNotFoundException {
    modifiable = in.readBoolean();
    int size = in.readInt();
    structType = context.getDeserializer().readObject(in);
    for (int j = size; j > 0; j--) {
      Object[] fieldValues = context.getDeserializer().readObject(in);
      addFieldValues(fieldValues);
    }
  }
Iterator wrapper to construct Structs on demand.
geode-core/src/main/java/org/apache/geode/cache/query/internal/SortedStructSet.java