联合会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
kanie_life
博客园
首页
新随笔
联系
管理
订阅
随笔- 32 文章- 0 评论- 0 阅读-
60885
随笔分类 -
api
java之Queue接口中 remove()/poll(), add(E)/offer(E), element()/peek()区别
摘要:一、Queue 队列通常但不一定以 FIFO(先进先出)的方式对元素进行排序。 例外情况包括:优先级队列,根据提供的比较器对元素进行排序,或者元素的自然排序;以及LIFO队列(或堆栈),对LIFO进行排序(后进先出)。 无论使用哪种排序,队列的head 都是元素,可以通过调用remove()或pol
阅读全文
posted @
2021-02-23 15:13
kanie_life
阅读(199)
评论(0)
推荐(0)
编辑
公告
昵称:
kanie_life
园龄:
4年3个月
粉丝:
1
关注:
0
+加关注
<
2025年3月
>
日
一
二
三
四
五
六
23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
更多链接
我的标签
swagger
(1)
SpringBoot
(1)
git
(1)
随笔分类
Ant Design of Vue(1)
api(1)
Docker(2)
echarts(1)
error(1)
git(2)
java(2)
MQTT(4)
mybatis(1)
mysql(4)
redis(1)
SpringBoot(3)
swagger(1)
Vue(2)
windows 10(1)
算法(3)
微信小程序(2)
随笔档案
2023年7月(2)
2022年11月(3)
2022年9月(1)
2022年8月(1)
2022年6月(1)
2022年2月(1)
2021年12月(1)
2021年10月(1)
2021年9月(1)
2021年8月(3)
2021年7月(7)
2021年6月(2)
2021年3月(1)
2021年2月(4)
2021年1月(1)
2020年12月(2)
阅读排行榜
1. SpringBoot跨域问题:When allowCredentials is true, allowedOrigins cannot contain the special value "*"since that cannot be set on the "Access-Control-Allow-Origin" (21786)
2. 使用git clone报错:Empty reply from server(9823)
3. vue去掉字符串中的标签元素(4938)
4. SpringBoot前端传参日期(date)类型的处理(3356)
5. MySQL8.0使用GROUP BY的问题(2814)
推荐排行榜
1. MySQL8.0使用GROUP BY的问题(1)
点击右上角即可分享