JAVA集合(接口继承和实现关系)

集合类存放于 Java.util 包中,主要有 3 种:set(集)、list(列表包含 Queue)和 map(映射)。
1. Collection:Collection 是集合 List、Set、Queue 的最基本的接口。
2. Iterator:迭代器,可以通过迭代器遍历集合中的数据
3. Map:是映射表的基础接口
 

猜你喜欢

转载自blog.csdn.net/weixin_41146000/article/details/106059419