SyntaxFix
Write A Post
Hire A Developer
Questions
map.entrySet() gives you a collection of Map.Entry objects containing both key and value. you can then transform this into any collection object you like, such as new ArrayList(map.entrySet());
map.entrySet()
Map.Entry
new ArrayList(map.entrySet())