线程安全类,不安全类,支持排序的类

Java四大线程安全类

线程安全类,不安全类,支持排序的类
线程安全的集合对象:

  • Vector
  • Stack
  • HashTable
  • StringBuffer
  • Enumeration

非线程安全的集合对象:

  • ArrayList
  • LinkedList
  • HashMap
  • HashSet
  • TreeMap
  • TreeSet
  • StringBulider

支持排序的类

HashSet、LinkedHashSet、TreeSet、EnumSet等(Set接口下的实现都支持排序)

相关文章:

  • 2022-01-17
  • 2022-12-23
  • 2021-04-21
  • 2022-12-23
  • 2021-08-15
  • 2021-12-01
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-25
  • 2021-07-19
  • 2021-06-24
  • 2021-07-11
  • 2022-01-29
  • 2021-06-17
相关资源
相似解决方案