摘要: 1 /** 2 * 转换Map表中的key和value 3 * @param key的类型 4 * @param value的类型 5 * @param map 转换前的map 6 * @return 转换后的map 7 */ 8 public static Map invertMap(Map map) 9 {10 Map out = new HashMap(map.size());11 for (Iterator> it = map.entrySet().iterator();... 阅读全文
posted @ 2014-02-26 11:59 许仙儿 阅读(308) 评论(0) 推荐(0) 编辑