21
I have two maps in Groovy [a: 1, b: 2] and [b:1, c:3] and would like to create from them a third map [a: 1, b: 3, c: 3]. Is there a Groovy command that does that?
Edit: Notice that the values in the third map, are a sum of the values from the first two maps, if the keys are identical.
Thanks