首页 > 编程语言 > 详细

java知识点

时间:2017-03-16 20:22:45      阅读:151      评论:0      收藏:0      [点我收藏+]

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();
}

 

java知识点

原文:http://www.cnblogs.com/chengebigdata/p/6561282.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!