Created
October 30, 2013 02:23
-
-
Save marcosvidolin/7226284 to your computer and use it in GitHub Desktop.
Iterating a map
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Map modelMap = model.asMap(); | |
for (Object modelKey : modelMap.keySet()) { | |
Object modelValue = modelMap.get(modelKey); | |
System.out.println(modelKey + " -- " + modelValue); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment