当前位置:网站首页>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 
边栏推荐
- Answer to "software testing" exercise: Chapter 1
- TYUT太原理工大学2022软工导论大题汇总
- 架构师怎样绘制系统架构蓝图?
- Introduction pointer notes
- 【无标题】
- TYUT太原理工大学2022软工导论简答题
- Fgui project packaging and Publishing & importing unity & the way to display the UI
- Role movement in the first person perspective
- 记录:newInstance()过时的代替方法
- What are the advantages of using SQL in Excel VBA
猜你喜欢
![[algorithme] swordfinger offer2 golang question d'entrevue 2: addition binaire](/img/c2/6f6c3bd4d70252ba73addad6a3a9c1.png)
[algorithme] swordfinger offer2 golang question d'entrevue 2: addition binaire

Alibaba cloud side: underlying details in concurrent scenarios - pseudo sharing

微信小程序开发心得

Ten minutes to thoroughly master cache breakdown, cache penetration, cache avalanche

阿里云微服务(四) Service Mesh综述以及实例Istio

阿里云一面:并发场景下的底层细节 - 伪共享问题

121道分布式面试题和答案

Rt-ppp test using rtknavi

Fairygui bar subfamily (scroll bar, slider, progress bar)

架构师怎样绘制系统架构蓝图?
随机推荐
Novatel board oem617d configuration step record
使用rtknavi进行RT-PPP测试
异常:IOException:Stream Closed
Interview Essentials: talk about the various implementations of distributed locks!
Introduction pointer notes
初识C语言(上)
雇佣收银员【差分约束】
TYUT太原理工大学2022软工导论简答题
基本Dos命令
Error: sorting and subscript out of bounds
Basic DOS commands
RTKLIB: demo5 b34f. 1 vs b33
[Yu Yue education] guide business reference materials of Wuxi Vocational and Technical College of Commerce
阿里云微服务(三)Sentinel开源流控熔断降级组件
Iterable、Collection、List 的常见方法签名以及含义
162. Find peak - binary search
Record: the solution of MySQL denial of access when CMD starts for the first time
Edit distance (multi-source BFS)
Lean product development - Lean Software Development & lean product development
Alibaba cloud side: underlying details in concurrent scenarios - pseudo sharing