摘要:
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();... 阅读全文