2013年9月10日
摘要: Map map = new HashMap(); map.put("A", "AAA"); map.put("B", "BBB"); map.put("C", "CCC"); map.put("D", "DDD"); // 第一种用for循环 for (Map.Entry entry : map.entrySet()) { System.out.println(entry.getKey() + "--->" + 阅读全文
posted @ 2013-09-10 17:38 饕盡天下 阅读(209) 评论(0) 推荐(0) 编辑