当前位置:网站首页>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
边栏推荐
- 继承和多态(下)
- [algorithm] sword finger offer2 golang interview question 13: sum of numbers of two-dimensional submatrix
- [algorithm] sword finger offer2 golang interview question 3: the number of 1 in the binary form of the first n numbers
- Interview Essentials: talk about the various implementations of distributed locks!
- 4.30动态内存分配笔记
- Realization of the code for calculating the mean square error of GPS Height Fitting
- [Chongqing Guangdong education] reference materials for regional analysis and planning of Pingdingshan University
- [algorithm] sword finger offer2 golang interview question 12: the sum of the left and right sub arrays is equal
- 121道分布式面试题和答案
- 记录:初次cmd启动MySQL拒接访问之解决
猜你喜欢
TYUT太原理工大学2022数据库大题之分解关系模式
[算法] 剑指offer2 golang 面试题9:乘积小于k的子数组
One article to get UDP and TCP high-frequency interview questions!
[算法] 剑指offer2 golang 面试题2:二进制加法
The port is occupied because the service is not shut down normally
Heap sort [handwritten small root heap]
TYUT太原理工大学2022数据库题库选择题总结
The earth revolves around the sun
抽象类和接口
MySQL shutdown is slow
随机推荐
[GNSS] robust estimation (robust estimation) principle and program implementation
[算法] 剑指offer2 golang 面试题10:和为k的子数组
一文搞定 UDP 和 TCP 高频面试题!
Comparative analysis of the execution efficiency of MySQL 5.7 statistical table records
错误:排序与角标越界
Record: the solution of MySQL denial of access when CMD starts for the first time
Role movement in the first person perspective
Error: sorting and subscript out of bounds
TYUT太原理工大学2022数据库大题之概念模型设计
[算法] 剑指offer2 golang 面试题5:单词长度的最大乘积
【干货】提升RTK模糊度固定率的建议之周跳探测
TYUT太原理工大学2022数据库大题之分解关系模式
[algorithm] sword finger offer2 golang interview question 8: the shortest subarray with a sum greater than or equal to K
Tyut Taiyuan University of technology 2022 introduction to software engineering examination question outline
[算法] 剑指offer2 golang 面试题9:乘积小于k的子数组
TYUT太原理工大学2022数据库大题之E-R图转关系模式
Introduction pointer notes
架构师怎样绘制系统架构蓝图?
[Chongqing Guangdong education] reference materials for regional analysis and planning of Pingdingshan University
微信小程序开发心得