SyntaxFix
Write A Post
Hire A Developer
Questions
You could use Collection.addAll() for other types, e.g. List, Set, etc. For Map, you can use putAll.
List
Set
Map
putAll