if (logger.isDebugEnabled()) logger.debug("Found Action Index");
    private ActionIndex getActionIndex() {        Collection c = actionIndexSubscription.getCollection(); // blackboard.query(ActionIndex.pred);        //System.out.println(c.size());        Iterator iter = c.iterator();        if (iter.hasNext()) {           if (logger.isDebugEnabled()) logger.debug("Found Action Index");           return (ActionIndex)iter.next();           }        else {           if (logger.isDebugEnabled()) logger.debug("No Action Index");           return null;           }    } 