CategoryGroupData group, int userID)
CategoryGroupData group)
    public static void fillCategoryWithClassifications(List l, List result,                                     CategoryGroupData group, int userID)    {        //Map of ID of the images contained in the group.        Map ids = new HashMap();         CategorySummary cs;        Iterator i = group.getCategories().iterator();        Iterator k;        Object obj;        while (i.hasNext()) {            cs = (CategorySummary) i.next();            k = cs.getImages().iterator();            while (k.hasNext()) {                obj = k.next(); //Integer                ids.put(obj, obj);            }          }        i = l.iterator();        Category c;        Map categoryMap = new HashMap();        Integer id;        while (i.hasNext()) {            c = (Category) i.next();            if (c.getModuleExecution().getExperimenter().getID() == userID) {                id = new Integer(c.getID());                cs = (CategorySummary) categoryMap.get(id);                if (cs == null) {                    cs = createCategorySummary(c, ids);                    if (cs != null) {                        categoryMap.put(id, cs);                        result.add(cs);                    }                } else result.add(cs);            }        }    }