java容器类总结——基于JDK1.8

提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档

@TOC# 学习目标:

在这里插入图片描述

Introduction:

虚线为接口或抽象类,黑框为常用类,实箭头标识持有,空箭头标识继承或实现。
Interface Collection
public interface Deque extends Queue
ArrayDeque, ConcurrentLinkedDeque, LinkedBlockingDeque, LinkedList

Interface Iterator
Scanner

Interface List
ArrayList, LinkedList, Stack, Vector

一个有序集合,C++的list是无序的。

public interface ListIterator extends Iterator
一个列表的迭代器,允许程序员在两个方向遍历列表,在迭代过程中修改列表,并获得在列表中的迭代器的当前位置。

Interface Map<K,V>
ConcurrentHashMap,HashMap, Hashtable, LinkedHashMap, TreeMap

Interface Queue
ArrayDeque, ConcurrentLinkedDeque, ConcurrentLinkedQueue, LinkedBlockingDeque, LinkedBlockingQueue, LinkedList, PriorityBlockingQueue, PriorityQueue

Interface Set
ConcurrentHashMap.KeySetView,HashSet,LinkedHashSet, TreeSet

Interface SortedMap<K,V>
ConcurrentSkipListMap, TreeMap

Interface SortedSet
ConcurrentSkipListSet, TreeSet

Class ArrayDeque
Class ArrayList
Class Arrays
Class Collections
Class HashMap<K,V>
Class HashSet
Class Hashtable<K,V>
Class LinkedHashMap<K,V>
Class LinkedHashSet
Class LinkedList
Class PriorityQueue
Class Stack
Class TreeMap<K,V>
Class TreeSet
Class Vector

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值