From e5250a7c69ca54f95d1d161b2047c480e97d6e29 Mon Sep 17 00:00:00 2001 From: hanjian Date: Mon, 19 Feb 2024 15:29:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=80=E6=9C=AF=E6=96=87=E6=A1=A3/=E5=90=8E?= =?UTF-8?q?=E7=AB=AF/Java8=E9=9B=86=E5=90=88List=E6=8E=92=E5=BA=8F?= =?UTF-8?q?=E3=80=81=E7=AD=9B=E9=80=89=E3=80=81=E6=B1=82=E5=92=8C=E3=80=81?= =?UTF-8?q?=E6=B1=82=E6=9C=80=E5=A4=A7=E5=80=BC=E3=80=81=E5=B9=B3=E5=9D=87?= =?UTF-8?q?=E5=80=BC.md=20updated=20from=20https://stackedit.cn/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...选、求和、求最大值、平均值.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/技术文档/后端/Java8集合List排序、筛选、求和、求最大值、平均值.md b/技术文档/后端/Java8集合List排序、筛选、求和、求最大值、平均值.md index b7b3d33..42ef8a6 100644 --- a/技术文档/后端/Java8集合List排序、筛选、求和、求最大值、平均值.md +++ b/技术文档/后端/Java8集合List排序、筛选、求和、求最大值、平均值.md @@ -1,7 +1,21 @@ +# 1. List +- 元素**有序** +- 元素**可重复** +## 1.1 ArrayList -> Written with [StackEdit中文版](https://stackedit.cn/). +- 动态数组实现 +- 查询快 +- 增删慢(末尾处也快) + +## 1.2 LinkedList + +- 链表实现 +- 查询慢 +- 增删快 + +## 1.3 ArrayList和LinkedList比较 \ No newline at end of file