java中的Map.Entry<String,String> set:map.entrySet()
代码:Mapmap=newHashMapset:map.entrySet()){System.out.println(set);//{张三=1212,王五=js}System.out.println(set.getKey()+set.getValue());}1.Set>entrySet(){Set>es;return(es=entrySet)==null?(entrySet=newEntrySe