marcosvidolin
10/30/2013 - 2:23 AM

Iterating a map

Iterating a map

Map modelMap = model.asMap();
for (Object modelKey : modelMap.keySet()) {
    Object modelValue = modelMap.get(modelKey);
    System.out.println(modelKey + " -- " + modelValue);
}