摘要: 第一代线程安全集合类 Vector、Hashtable 使用synchronized修饰方法保证线程安全,但效率低下 第二代线程非安全集合类 ArrayList、HashMap 线程不安全、性能好 使用Collections.synchronizedList(list)、Collections.sy 阅读全文
posted @ 2022-08-27 15:01 xiaohong吖 阅读(37) 评论(0) 推荐(0) 编辑