dap4/d4lib/src/main/java/dap4/dap4lib/AbstractCursor.java
static public Scheme
    schemeFor(DapVariable field)
    {
        DapType ftype = field.getBaseType();
        Scheme scheme = null;
        boolean isscalar = field.getRank() == 0;
        if(ftype.getTypeSort().isAtomic())
            scheme = Scheme.ATOMIC;
        else {
            if(ftype.getTypeSort().isStructType()) scheme = Scheme.STRUCTARRAY;
            else if(ftype.getTypeSort().isSeqType()) scheme = Scheme.SEQARRAY;
        }
        return scheme;
    }
static public Scheme
    schemeFor(DapVariable field)
    {
        DapType ftype = field.getBaseType();
        Scheme scheme = null;
        boolean isscalar = field.getRank() == 0;
        if(ftype.getTypeSort().isAtomic())
            scheme = Scheme.ATOMIC;
        else {
            if(ftype.getTypeSort().isStructType()) scheme = Scheme.STRUCTARRAY;
            else if(ftype.getTypeSort().isSeqType()) scheme = Scheme.SEQARRAY;
        }
        return scheme;
    }
Utilities