for (Map.Entry<String, String> me : id_label_map.entrySet()) { System.out.println(me.getKey() + "-->" + me.getValue()); }