Groovy Nuances - Map in Groovy
Map is a data structure that takes a set of key,value pairs. Remember, Map is
NOT a Collection. It is not a member of
Java Collection family. It is a
data structure of its own.
Groovy Map offers a few flexible ways to manipulate the contents. Totally there are 6 ways to add an element (Key,Value pair) to Map, as follows.Read More ...