随笔分类 -  尚未解决的问题

摘要:问题描述 在使用PriorityQueue类的时候下面有offer和add方法都是用来在堆中插入元素,但是看一下add源码 /** * Inserts the specified element into this priority queue. * * @return {@code true} ( 阅读全文
posted @ 2021-04-11 13:15 21岁还不是架构师 阅读(1202) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示