码迷,mamicode.com
首页 > 编程语言 > 详细

java容器的线程安全性

时间:2018-04-27 21:40:45      阅读:207      评论:0      收藏:0      [点我收藏+]

标签:线程安全   array   hashtable   string   eset   lis   cto   htm   blog   

参考:https://www.cnblogs.com/yjd_hycf_space/p/7760248.html

 

线程安全的:

  • Vector 
  • HashTable
  • StringBuffer

线程不安全的:

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

java容器的线程安全性

标签:线程安全   array   hashtable   string   eset   lis   cto   htm   blog   

原文地址:https://www.cnblogs.com/zealousness/p/8964574.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!