2 Replies Latest reply: May 4, 2008 12:31 PM by 807601 RSS

    Syntax for passing argument map with String keys and Integer values

      I have been trying to compile a method that accepts an argument of map whose keys are strings and values are integers.
      I have tried:
      method(Map<String, Integer>, aMap(aString, anInteger))
      method(HashMap<String, Integer>, aMap(aString, anInteger))

      But get the compiler error <identifier> expected.

      Can anyone please help?