当前位置:网站首页>Common method signatures and meanings of Iterable, collection and list
Common method signatures and meanings of Iterable, collection and list
2022-07-06 13:08:00 【犇犇犇犇犇犇犇】
Let's tidy up today , We Java Big brother in the collection Collection Interface and its parent interface Iterable, A subinterface List.
Iterable What is it? ?
It can be said to be the interface at the top of the collection framework , Implement traversal of the set .
Collection What is it? ?
It is the root interface in the hierarchy inherited from Iterable, The parent interface is not used for specific implementation , It defines some public specifications for the following specific implementation interface classes .
List
list Is an ordered set, also known as sequence , Inherited Collection Interface , It's also an interface , It cannot be used to instantiate objects , So his following realization ArrayList,LinkedList,Stack Many kinds
List Official documents
ArrayList
ArrayList Realized List, It's a sequence table , It is the simplest data structure , Is a set of the same data type, that is, an array , His logical structure and physical structure are continuous .
LinkedList
LinkedList Realized List, Linked list ,Java Medium LinkedList Realized the bidirectional linked list , queue , deque , These are linear structures , Although their logical structure is continuous, they are not continuous in physical structure
Stack
Stack Realized vector,vector Realized List, therefore Stack It has also been realized. List, It's a stack , Stack in data structure , It is also a linear structure. Like queues, it is a special linked list .
The diagram 
边栏推荐
- 2年经验总结,告诉你如何做好项目管理
- 使用rtknavi进行RT-PPP测试
- [algorithm] sword finger offer2 golang interview question 13: sum of numbers of two-dimensional submatrix
- 167. Sum of two numbers II - input ordered array - Double pointers
- 面试必备:聊聊分布式锁的多种实现!
- MYSQL索引钟B-TREE ,B+TREE ,HASH索引之间的区别和应用场景
- 阿里云微服务(二) 分布式服务配置中心以及Nacos的使用场景及实现介绍
- [算法] 剑指offer2 golang 面试题5:单词长度的最大乘积
- 阿里云一面:并发场景下的底层细节 - 伪共享问题
- Usage differences between isempty and isblank
猜你喜欢

How do architects draw system architecture blueprints?

What are the advantages of using SQL in Excel VBA

How to ensure data consistency between MySQL and redis?
![[algorithm] sword finger offer2 golang interview question 12: the sum of the left and right sub arrays is equal](/img/11/ee0628a68542236fc641966579a31a.png)
[algorithm] sword finger offer2 golang interview question 12: the sum of the left and right sub arrays is equal

【GNSS数据处理】赫尔默特(helmert)方差分量估计解析及代码实现

编辑距离(多源BFS)

图书管理系统小练习

Redis介绍与使用

10 minutes pour maîtriser complètement la rupture du cache, la pénétration du cache, l'avalanche du cache

rtklib单点定位spp使用抗差估计遇到的问题及解决
随机推荐
【干货】提升RTK模糊度固定率的建议之周跳探测
Code example of MATLAB reading GNSS observation value o file
[rtklib] preliminary practice of using robust adaptive Kalman filter under RTK
[algorithm] sword finger offer2 golang interview question 7: 3 numbers with 0 in the array
微信小程序开发心得
TYUT太原理工大学2022软工导论大题汇总
TYUT太原理工大学2022软工导论考试题型大纲
记录:动态Web项目servlet访问数据库404错误之解决
【rtklib】在rtk下使用抗差自适应卡尔曼滤波初步实践
GNSS positioning accuracy index calculation
What are the functions and features of helm or terrain
Wechat applet development experience
分支语句和循环语句
Ten minutes to thoroughly master cache breakdown, cache penetration, cache avalanche
[算法] 剑指offer2 golang 面试题3:前n个数字二进制形式中1的个数
Basic DOS commands
[算法] 剑指offer2 golang 面试题12:左右两边子数组的和相等
All in one 1405: sum and product of prime numbers
使用rtknavi进行RT-PPP测试
MySQL shutdown is slow