public Class
    getElementType()
    {
        DataType dt = CDMTypeFcns.daptype2cdmtype(this.basetype);
        if(dt == null)
            throw new IllegalArgumentException("Unknown datatype: " + this.basetype);
        return CDMTypeFcns.cdmElementClass(dt);
    }
public Class
    getElementType()
    {
        DataType dt = CDMTypeFcns.daptype2cdmtype(this.basetype);
        if(dt == null)
            throw new IllegalArgumentException("Unknown datatype: " + this.basetype);
        return CDMTypeFcns.cdmElementClass(dt);
    }
public Class getElementType ( ) { DataType dt = CDMTypeFcns . daptype2cdmtype ( this . basetype ) ; if ( dt == null ) throw new IllegalArgumentException ( "Unknown datatype: " + this . basetype ) ; return CDMTypeFcns . cdmElementClass ( dt ) ; }
TODO: add index range checks
TODO : add index range checks