Map cache = new HashMap();
Map cache = newCache();
    static public Map adaptFoundImageAnnotations(Map result) {        Map dataObjects = new HashMap();        Map cache = new HashMap();        for (Iterator i = result.keySet().iterator(); i.hasNext();) {            Object key = i.next();            Set value = (Set) result.get(key);            dataObjects.put(key,new HashSet());            for (Iterator j = value.iterator(); j.hasNext();) {                ImageAnnotation ann = (ImageAnnotation) j.next();                ((Set) dataObjects.get(key)).add(AdapterUtils.go(ann,cache));            }        }        return dataObjects;     }