opendap/src/main/java/opendap/dap/DSequence.java
public BaseType getVar(int index)
            throws NoSuchVariableException {

        if (index < varTemplate.size())
            return ((BaseType) varTemplate.elementAt(index));
        else
            throw new NoSuchVariableException("DSequence.getVariable(" + index + " - 1)");

    }
public BaseType getVar(int index)
            throws NoSuchVariableException {

        if (index < varTemplate.size())
            return ((BaseType) varTemplate.elementAt(index));
        else
            throw new NoSuchVariableException("DSequence.getVariable(" + index + " - 1)");

    }
public BaseType getVar ( int index ) throws NoSuchVariableException { if ( index < varTemplate . size ( ) ) return ( ( BaseType ) varTemplate . elementAt ( index ) ) ; else throw new NoSuchVariableException ( "DSequence.getVariable(" + index + " - 1)" ) ; }
Gets the indexed variable. For a DSrquence this returns the <code>BaseType</code>
from the <code>index</code>th column from the internal map <code>Vector</code>.

@param index the index of the variable in the <code>Vector</code> Vars.
@return the indexed variable.
@throws NoSuchVariableException if the named variable does not
exist in this container.
Gets the indexed variable . For a DSrquence this returns the <code > BaseType< / code > from the <code > index< / code > th column from the internal map <code > Vector< / code > .