标签:code java color new key entry log blog bsp
1.同时获取hash的键值对
Map<Integer, PriorityQueue<Integer>> studentsScores = new HashMap<>(); for (Map.Entry<Integer, PriorityQueue<Integer>> entry : studentsScores.entrySet()) { int id = entry.getKey(); PriorityQueue<Integer> scores = entry.getValue(); }
标签:code java color new key entry log blog bsp
原文地址:http://www.cnblogs.com/chengebigdata/p/6561282.html