Java常用容器
常用容器大类分为Collection,和Map
Collection 用于存储单个对象
Collection 接口下, 三个子接口, List、Queue、Set List 常用ArrayList、LinkedList Set 常用 HashSet、TreeSet、LinkedHashSet Queue 常用PriorityQueue优先队列,各种BlockingQueue,一般用Deque来实现Queue
Map 用来存储键值对
Map常用HashMap,线程安全的ConcurrentHashMap 排序的TreeMap、LinkedHashMap
工具集合
Collections Arrays
version1