I have the following HashMap:
Map<String,List<Objects>> abc = new HashMap<String,List<Objects>>()
How can I iterate through the objects, to access the properties of the object?
I have the following HashMap:
Map<String,List<Objects>> abc = new HashMap<String,List<Objects>>()
How can I iterate through the objects, to access the properties of the object?
for(Entry<String, List<Object>> e : abc.entrySet()){
String key = e.getKey();
for(Objects o : e.getValue()){
System.out.println(o.toString());
}
}