code: void     flagTaggedStates() {
             List<RBBINode> tagNodes = new ArrayList<RBBINode>();
             RBBINode    tagNode;
             int     i;
             int     n;
  
             fRB.fTreeRoots[fRootIx].findNodes(tagNodes, RBBINode.tag);
             for (i=0; i<tagNodes.size(); i++) {                   // For each tag node t (all of 'em)
                 tagNode = tagNodes.get(i);
  
                 for (n=0; n<fDStates.size(); n++) {              //    For each state  s (row in the state table)
                     RBBIStateDescriptor sd = fDStates.get(n);
                     if (sd.fPositions.contains(tagNode)) {       //       if  s include the tag node t
                         sd.fTagVals.add(Integer.valueOf(tagNode.fVal));
                     }
                 }
             }
         }
docs: -----------------------------------------------------------------------------