Collection
- ArrayList: 动态数组
- LinkedList: 双向链表
- Vector: 动态数组、线程安全
- Stack: 继承Vector,动态数组,FILO
- HashMap: table为数组,entry为链表
HashTable: 线程安全,类似于HashMap(很少使用)- WeakHashMap:
- ConurrentHashMap:
- TreeMap: 红黑树、有序、可序列化
- HashSet:唯一、无序、非线程安全
- TreeSet:继承TreeMap,有序、支持序列化
根据Java 集合系列目录(Category)总结而成,感谢原作者的贡献。
来源:oschina
链接:https://my.oschina.net/u/3569587/blog/1632337