KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have two maps whose keys are String s and whose values are Set<MyObject> . Given two Map s, what is the easiest way to merge them such that if two keys are identical, the value is a union of the two sets. You can assume values are never null and if it is useful, we can make these Map s SortedMap s.
Tags (comma-separated)
Save Edits
Cancel