当前位置:网站首页>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 
边栏推荐
- rtklib单点定位spp使用抗差估计遇到的问题及解决
- Music playback (toggle & playerprefs)
- Exception: ioexception:stream closed
- Branch and loop statements
- 错误:排序与角标越界
- 国企秋招经验总结
- 记录:newInstance()过时的代替方法
- Comparative analysis of the execution efficiency of MySQL 5.7 statistical table records
- 165. Compare version number - string
- KF UD decomposition pseudo code implementation advanced [2]
猜你喜欢
![[algorithm] sword finger offer2 golang interview question 5: maximum product of word length](/img/e0/cea31070d6365eb57013cdead4a175.png)
[algorithm] sword finger offer2 golang interview question 5: maximum product of word length
![[算法] 剑指offer2 golang 面试题12:左右两边子数组的和相等](/img/11/ee0628a68542236fc641966579a31a.png)
[算法] 剑指offer2 golang 面试题12:左右两边子数组的和相等

Code example of MATLAB reading GNSS observation value o file

RTKLIB: demo5 b34f.1 vs b33
![[算法] 剑指offer2 golang 面试题5:单词长度的最大乘积](/img/e0/cea31070d6365eb57013cdead4a175.png)
[算法] 剑指offer2 golang 面试题5:单词长度的最大乘积

Fgui project packaging and Publishing & importing unity & the way to display the UI
![[algorithm] sword finger offer2 golang interview question 1: integer division](/img/e6/f17135207b3540ec58e5a9eed54220.png)
[algorithm] sword finger offer2 golang interview question 1: integer division

几道高频的JVM面试题

121道分布式面试题和答案
![[GNSS data processing] Helmert variance component estimation analysis and code implementation](/img/4e/ff0334cf9a2a37096778a8c5719a4e.jpg)
[GNSS data processing] Helmert variance component estimation analysis and code implementation
随机推荐
[algorithm] sword finger offer2 golang interview question 12: the sum of the left and right sub arrays is equal
One article to get UDP and TCP high-frequency interview questions!
What are the advantages of using SQL in Excel VBA
165. Compare version number - string
Ten minutes to thoroughly master cache breakdown, cache penetration, cache avalanche
雇佣收银员【差分约束】
Application architecture of large live broadcast platform
Dark chain lock (lca+ difference on tree)
图书管理系统小练习
TYUT太原理工大学2022数据库大题之数据库操作
[算法] 剑指offer2 golang 面试题10:和为k的子数组
[rtklib] preliminary practice of using robust adaptive Kalman filter under RTK
KF UD decomposition pseudo code implementation advanced [2]
阿里云微服务(四) Service Mesh综述以及实例Istio
如何保障 MySQL 和 Redis 的数据一致性?
阿里云微服务(一)服务注册中心Nacos以及REST Template和Feign Client
Problems and solutions of robust estimation in rtklib single point location spp
Error: sorting and subscript out of bounds
First acquaintance with C language (Part 1)
【GNSS】抗差估计(稳健估计)原理及程序实现