HashSet values = new HashSet();
HashSet<V> values = new HashSet<V>();
    private static void addToMapValueSet(Map/*<K,Set<V>>*/ map,                                          Object/*<K>*/ key,                                         Object/*<V>*/ val) {        Set/*<V>*/ oldVal = (Set)map.get(key);        if (oldVal == null) {            HashSet/*<V>*/ values = new HashSet();            values.add(val);            map.put(key,values);        } else {             oldVal.add(val);        }    }