当前位置:网站首页>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
边栏推荐
- Ten minutes to thoroughly master cache breakdown, cache penetration, cache avalanche
- [dry goods] cycle slip detection of suggestions to improve the fixed rate of RTK ambiguity
- 国企秋招经验总结
- How to reduce the shutdown time of InnoDB database?
- [algorithm] sword finger offer2 golang interview question 1: integer division
- 121 distributed interview questions and answers
- rtklib单点定位spp使用抗差估计遇到的问题及解决
- 记录:下一不小心写了个递归
- 162. Find peak - binary search
- Error: sorting and subscript out of bounds
猜你喜欢
Fundamentals of UD decomposition of KF UD decomposition [1]
面试必备:聊聊分布式锁的多种实现!
抽象类和接口
闇の連鎖(LCA+树上差分)
阿里云微服务(二) 分布式服务配置中心以及Nacos的使用场景及实现介绍
TYUT太原理工大学2022软工导论大题汇总
Experience summary of autumn recruitment of state-owned enterprises
十分钟彻底掌握缓存击穿、缓存穿透、缓存雪崩
TYUT太原理工大学2022数据库题库选择题总结
Interview Essentials: talk about the various implementations of distributed locks!
随机推荐
初识C语言(下)
[algorithm] sword finger offer2 golang interview question 9: subarray with product less than k
[算法] 剑指offer2 golang 面试题5:单词长度的最大乘积
Record: Navicat premium can't connect to MySQL for the first time
What are the functions and features of helm or terrain
Ten minutes to thoroughly master cache breakdown, cache penetration, cache avalanche
Application architecture of large live broadcast platform
服务未正常关闭导致端口被占用
[算法] 剑指offer2 golang 面试题6:排序数组中的两个数字之和
阿里云微服务(四) Service Mesh综述以及实例Istio
记录:下一不小心写了个递归
What are the advantages of using SQL in Excel VBA
How do architects draw system architecture blueprints?
Wechat applet development experience
架构师怎样绘制系统架构蓝图?
基本Dos命令
Record: the solution of MySQL denial of access when CMD starts for the first time
[算法] 剑指offer2 golang 面试题8:和大于或等于k的最短子数组
2年经验总结,告诉你如何做好项目管理
XV Function definition and call