waterml/src/main/java/ucar/nc2/ogc/erddap/util/ErddapStringArray.java
public void add(String value) {
        if (size == array.length) //if we're at capacity
            ensureCapacity(size + 1L);
        array[size++] = value;
    }
public void add(String value) {
        if (size == array.length) //if we're at capacity
            ensureCapacity(size + 1L);
        array[size++] = value;
    }
This adds an item to the array (increasing 'size' by 1).

@param value the value to be added to the array