Hashtable、synchronizedMap、ConcurrentMap:键值和iterator都是安全的
Vector、CopyOnWriterArrayList、CopyOnWriteArraySet、synchronizedList、synchronizedSet
BlockingQueue、ConcurrentLinkedQueue
本文介绍了一系列在多线程环境下能够安全使用的Java集合类,包括Hashtable、synchronizedMap、ConcurrentMap等键值对集合,以及Vector、CopyOnWriteArrayList等列表和集合类。还提到了BlockingQueue、ConcurrentLinkedQueue等并发安全的队列。
Hashtable、synchronizedMap、ConcurrentMap:键值和iterator都是安全的
Vector、CopyOnWriterArrayList、CopyOnWriteArraySet、synchronizedList、synchronizedSet
BlockingQueue、ConcurrentLinkedQueue
917

被折叠的 条评论
为什么被折叠?