1 Reply Latest reply: Jul 10, 2010 8:39 PM by 796440 RSS

    adding hashsets to a hashmap

    807580
      If I've created a hashmap of hashsets, for example,

      HashMap<String,HashSet<String>> hm = new HashMap<String,HashSet<String>> ();

      how do I add elements to a hashset at a particular key of the hashmap?