1 Reply Latest reply on Jul 11, 2010 1:39 AM by 796440

    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?