I have map
like this
Map<String, Map<String, List<String>>> m;
and i want to iterate through list
my logic is like this:
- first i getting the key of first map
- and getting the key of secondmap
- and from that key i am iterating the list.
for (Map m:m.keyset()){
for (Map m1:m.getKey(){
List<String> l = m1.getKey(){
for (String s:l){
}
}
}
Is this correct?
I am confused to test it...please help me...:)