当前位置:网站首页>List and set
List and set
2022-07-06 11:51:00 【monkeySix】
List Orderly , repeatable
List Implementation class of
- ArrayList By name , As you can see , The bottom layer uses Array , Quick query , Add or delete slowly .
- LinkedList Know by name , The bottom layer uses linked lists , Slow query , Additions and deletions quickly .
- Vector The bottom layer uses arrays , Thread safety , Because the method has synchronized keyword , So it's thread safe .
Set disorder , Do not repeat
Set Implementation class of
- HashSet The bottom layer uses HashMap, use HashMap in key Storing data ensures the uniqueness of data .( disorder , Do not repeat )
- LinkedHashSet According to the name , The bottom layer uses linked lists and HashMap, The linked list ensures order .( Orderly , Not to be repeated )
- TressSet At the bottom are red and black trees .( Orderly , Do not repeat )
边栏推荐
- wangeditor富文本组件-复制可用
- 【Flink】CDH/CDP Flink on Yarn 日志配置
- L2-004 这是二叉搜索树吗? (25 分)
- Codeforces Round #753 (Div. 3)
- Internet protocol details
- Case analysis of data inconsistency caused by Pt OSC table change
- AcWing 1298. Solution to Cao Chong's pig raising problem
- [CDH] modify the default port 7180 of cloudera manager in cdh/cdp environment
- 2020 WANGDING cup_ Rosefinch formation_ Web_ nmap
- L2-004 is this a binary search tree? (25 points)
猜你喜欢

Mall project -- day09 -- order module

Linux Yum install MySQL

5G工作原理详解(解释&图解)

Machine learning notes week02 convolutional neural network

Kept VRRP script, preemptive delay, VIP unicast details

STM32型号与Contex m对应关系

Nanny level problem setting tutorial

vs2019 第一个MFC应用程序

Pytoch Foundation
Reading BMP file with C language
随机推荐
Password free login of distributed nodes
Those commonly used tool classes and methods in hutool
SQL time injection
2020网鼎杯_朱雀组_Web_nmap
MATLAB学习和实战 随手记
Word排版(小计)
Learn winpwn (2) -- GS protection from scratch
MySQL数据库面试题
Integration test practice (1) theoretical basis
Niuke novice monthly race 40
nodejs连接Mysql
分布式節點免密登錄
Solution of deleting path variable by mistake
UDS learning notes on fault codes (0x19 and 0x14 services)
nodejs 详解
Vert. x: A simple login access demo (simple use of router)
[蓝桥杯2021初赛] 砝码称重
XML file explanation: what is XML, XML configuration file, XML data file, XML file parsing tutorial
L2-006 树的遍历 (25 分)
[Presto] Presto parameter configuration optimization