Java基础学习笔记-Collection

Collection

  • ArrayList: 动态数组
  • LinkedList: 双向链表
  • Vector: 动态数组、线程安全
  • Stack: 继承Vector,动态数组,FILO
  • HashMap: table为数组,entry为链表
  • HashTable: 线程安全,相似于HashMap(不多使用)
  • WeakHashMap:
  • ConurrentHashMap:
  • TreeMap: 红黑树、有序、可序列化
  • HashSet:惟1、无序、非线程安全
  • TreeSet:继承TreeMap,有序、支持序列化

根据Java 集合系列目录(Category)总结而成,感谢原做者的贡献。html

相关文章
相关标签/搜索