3 Replies Latest reply on Aug 18, 2010 10:57 AM by forumKid2

    Need help assigning value to a field marked '?'

      Given: Map<String, ?> options

      options.put("a", "b");

      generates a compiler error: put(java.lang.String,capture#398 of ?) in java.util.Map<java.lang.String,capture#398 of ?> cannot be applied to (java.lang.String,java.lang.String)

      Can someone please tell me what syntax to use to get the data into this Map.