- 博客(1)
- 收藏
- 关注
原创 PriorityQueue优先级队列
public class Priority { public static void main(String[] args){ PriorityQueue q=new PriorityQueue(10,new Comparator(){ public int compare(student o1, student o2) { return o1.grade-o2.grade; } }
2015-11-18 20:15:55 350
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人