String name;
    protected void process(Collection frames) {        relationshipFrames = new ArrayList();        dataFrames = new HashSet();        //frameMap = new HashMap();        org.cougaar.core.qos.frame.Frame f;        String name;        for (Iterator ii=frames.iterator(); ii.hasNext();) {            f = (org.cougaar.core.qos.frame.Frame) ii.next();            if (f instanceof RelationFrame) {                relationshipFrames.add(f);                continue;            }            name = (String) f.getValue("name");            dataFrames.add(f);            //if (frameMap.get(name) != null)              //  continue; //throw new IllegalArgumentException("frame '"+name+"' already exists in the frame map");            //else            //frameMap.put(name, f);        }    }