If you have map defined as for example HashMap:

Map<String, String> map = new HashMap<String, String>();

You can iterate through it using for loop on the following way:

for (Map.Entry<String, String> entry : map.entrySet()) { 
System.out.println(entry.getKey() + "/" + entry.getValue()); 
}