dap4/d4core/src/main/java/dap4/core/dmr/DapDataset.java
public void finish()
    {
        if(this.finished)
            return;
        if(this.ce == null)
            this.visiblenodes = nodelist;
        else {
            this.visiblenodes = new ArrayList<DapNode>(nodelist.size());
            for(int i = 0; i < nodelist.size(); i++) {
                DapNode node = nodelist.get(i);
                if(ce.references(node))
                    visiblenodes.add(node);
            }
        }
        this.topvariables = new ArrayList<DapVariable>();
        this.allvariables = new ArrayList<DapVariable>();
        this.allgroups = new ArrayList<DapGroup>();
        this.allenums = new ArrayList<DapEnumeration>();
        this.allcompounds = new ArrayList<DapStructure>();
        this.alldimensions = new ArrayList<DapDimension>();
        finishR(this);
    }
public void finish()
    {
        if(this.finished)
            return;
        if(this.ce == null)
            this.visiblenodes = nodelist;
        else {
            this.visiblenodes = new ArrayList<DapNode>(nodelist.size());
            for(int i = 0; i < nodelist.size(); i++) {
                DapNode node = nodelist.get(i);
                if(ce.references(node))
                    visiblenodes.add(node);
            }
        }
        this.topvariables = new ArrayList<DapVariable>();
        this.allvariables = new ArrayList<DapVariable>();
        this.allgroups = new ArrayList<DapGroup>();
        this.allenums = new ArrayList<DapEnumeration>();
        this.allcompounds = new ArrayList<DapStructure>();
        this.alldimensions = new ArrayList<DapDimension>();
        finishR(this);
    }
Compute inferred information