cdm/src/main/java/ucar/ma2/ArrayStructure.java
public void setObject(int index, Object value) {
    if (sdata == null)
      sdata = new StructureData[nelems];
    sdata[index] = (StructureData) value;
  }
public void setObject(int index, Object value) {
    if (sdata == null)
      sdata = new StructureData[nelems];
    sdata[index] = (StructureData) value;
  }
Set the index-th StructureData of this ArrayStructure.

@param index which one to set.
@param value must be type StructureData.