dap4/d4cdm/src/main/java/dap4/cdm/nc2/CDMArrayAtomic.java
protected Object getObject(dap4.core.util.Index idx)
    {
        assert data.getScheme() == Scheme.ATOMIC;
        try {
            Object value = data.read(idx);
            value = java.lang.reflect.Array.get(value, 0);
            return value;
        } catch (IOException ioe) {
            throw new IndexOutOfBoundsException(ioe.getMessage());
        }
    }
protected Object getObject(dap4.core.util.Index idx)
    {
        assert data.getScheme() == Scheme.ATOMIC;
        try {
            Object value = data.read(idx);
            value = java.lang.reflect.Array.get(value, 0);
            return value;
        } catch (IOException ioe) {
            throw new IndexOutOfBoundsException(ioe.getMessage());
        }
    }
Get the array element at a specific dap4 index as an Object

@param idx of element to get
@return value at <code>index</code> cast to Object if necessary.