dap4/d4cdm/src/main/java/dap4/cdm/nc2/CDMArraySequence.java
void
    add(long recno, int fieldno, Array field)
    {
        //Make sure all the space is allocated
        if(records.length <= recno) {
            FieldSet[] newrecs = new FieldSet[(int) recno + 1];
            System.arraycopy(records, 0, newrecs, 0, records.length);
            records = newrecs;
        }
        FieldSet fs = records[(int) recno];
        if(fs == null) {
            records[(int) recno] = (fs = new FieldSet(this.nmembers));
        }
        fs.fields[fieldno] = field;
    }
void
    add(long recno, int fieldno, Array field)
    {
        //Make sure all the space is allocated
        if(records.length <= recno) {
            FieldSet[] newrecs = new FieldSet[(int) recno + 1];
            System.arraycopy(records, 0, newrecs, 0, records.length);
            records = newrecs;
        }
        FieldSet fs = records[(int) recno];
        if(fs == null) {
            records[(int) recno] = (fs = new FieldSet(this.nmembers));
        }
        fs.fields[fieldno] = field;
    }
/*package