Set<String> set = map.keySet();spa
for(String key:set){get
System.out.println("key:"+key);it
}io
Collection<String> values = map.values();map
for(String value:values){
System.out.println("value:"+value);
}
Set<Entry<String, String>> entrySet = map.entrySet();
for(Entry<String, String> key_value:entrySet){
String key = key_value.getKey();
String value = key_value.getValue();
System.out.println("key---"+key+",value:--"+value);
}