dap4/d4lib/src/main/java/dap4/dap4lib/serial/D4Cursor.java
public D4Cursor
    setElements(D4Cursor[] instances)
    {
        if(!(getScheme() == Scheme.SEQARRAY
                || getScheme() == Scheme.STRUCTARRAY))
            throw new IllegalStateException("Adding element to !(structure|sequence array) object");
        DapVariable var = (DapVariable) getTemplate();
        this.elements = instances;
        return this;
    }
public D4Cursor
    setElements(D4Cursor[] instances)
    {
        if(!(getScheme() == Scheme.SEQARRAY
                || getScheme() == Scheme.STRUCTARRAY))
            throw new IllegalStateException("Adding element to !(structure|sequence array) object");
        DapVariable var = (DapVariable) getTemplate();
        this.elements = instances;
        return this;
    }
D4Cursor Extensions