技术文档/后端/Java8集合List排序、筛选、求和、求最大值、平均值.md updated from https://stackedit.cn/

This commit is contained in:
hanjian 2024-02-19 15:29:02 +08:00
parent a25961106e
commit e5250a7c69

View File

@ -1,7 +1,21 @@
# 1. List
- 元素**有序**
- 元素**可重复**
## 1.1 ArrayList
> Written with [StackEdit中文版](https://stackedit.cn/).
- 动态数组实现
- 查询快
- 增删慢(末尾处也快)
## 1.2 LinkedList
- 链表实现
- 查询慢
- 增删快
## 1.3 ArrayList和LinkedList比较
<!--stackedit_data:
eyJoaXN0b3J5IjpbNDQwOTA1NjE5XX0=
eyJoaXN0b3J5IjpbMjExODI4ODg3OF19
-->