@Override
  public Object[] toArray(Object[] a) {
    Object[] array = contents.toArray(a);
    int i = 0;
    for (Object o : array) {
      array[i++] = new StructImpl((StructTypeImpl) structType, (Object[]) o);
    }
    return array;
  }
@param itr iterator over the Object[] instances of fieldValues
geode-core/src/main/java/org/apache/geode/cache/query/internal/StructSet.java