waterml/src/main/java/ucar/nc2/ogc/erddap/util/ErddapStringArray.java
public String get(int index) {
        if (index >= size)
            throw new IllegalArgumentException(ErddapString2.ERROR + " in StringArray.get: index (" +
                index + ") >= size (" + size + ").");
        return array[index];
    }
public String get(int index) {
        if (index >= size)
            throw new IllegalArgumentException(ErddapString2.ERROR + " in StringArray.get: index (" +
                index + ") >= size (" + size + ").");
        return array[index];
    }
public String get ( int index ) { if ( index >= size ) throw new IllegalArgumentException ( ErddapString2 . ERROR + " in StringArray.get: index (" + index + ") >= size (" + size + ")." ) ; return array [ index ] ; }
This gets a specified element.

@param index 0 ... size-1
This gets a specified element .