KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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
Tags (comma-separated)
Save Edits
Cancel