public static void main(String[] args) {
Map map = new HashMap<String,String>();
map.put("01","11111");
map.put("02","22222");
map.put("03","3333");
Set<String> set = map.keySet();
Iterator<String> it = set.iterator();
while (it.hasNext()){
String k = it.next();
String v = map.get(k).toString();
System.out.println(v);
}
}
执行结果