To answer your questions, use the following line of code:-
 
Map<String, String> map = ... 
for (Map.Entry<String, String> entry : map.entrySet()) { 
System.out.println(entry.getKey() + "/" + entry.getValue()); 
}
On Java 10+:
for (var entry : map.entrySet()) { 
       System.out.println(entry.getKey() + "/" + entry.getValue()); 
}