public static Map reverseListDatasetAnnotations(List annotations, int userID)
public static Map reverseListDatasetAnnotations(List annotations)
    public static Map reverseListDatasetAnnotations(List annotations,                                                     int userID)    {        Map map = new HashMap();        Iterator i = annotations.iterator();        DatasetAnnotation annotation;        while (i.hasNext()) {            annotation = (DatasetAnnotation) i.next();            if (userID ==                 annotation.getModuleExecution().getExperimenter().getID())                map.put(new Integer(annotation.getDataset().getID()),                                        annotation);        }        return map;    }