Java Map

Map myM = new HashMap();

for (Map.Entry entry:myM.entrySet()){ System.out.println(entry.getKey()+":...:"+ entry.getValue()); }


你可能感兴趣的:(Java Map)