cdm/src/main/java/ucar/ma2/ArrayInt.java
protected void copyFrom1DJavaArray(IndexIterator iter, Object javaArray) {
    int[] ja = (int[]) javaArray;
    for (int aJa : ja) iter.setIntNext(aJa);
  }
protected void copyFrom1DJavaArray(IndexIterator iter, Object javaArray) {
    int[] ja = (int[]) javaArray;
    for (int aJa : ja) iter.setIntNext(aJa);
  }
copy from javaArray to storage using the iterator: used by factory( Object);