Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Jenya Mia
Added: Mar 19, 2019 12:48 PM
Views: 8
Tags: iterating map
  1. for (Map.Entry<String, String> entry : map.entrySet())
  2. {
  3.     System.out.println(entry.getKey() + "/" + entry.getValue());
  4. }