美文网首页
Collections

Collections

作者: 李彬燊666 | 来源:发表于2020-01-04 15:34 被阅读0次

java提供了一些线程安全的集合类,在多线程程序中可以使用这些线程安全的集合以避免可能的不一致和崩溃现象。

 线程安全的集合主要包括:ConcurrentLinkedQueue、ConcurrentHashMap、ConcurrentSkipListMap、ConcurrentSkipListSet等,相关内容请到java.util.concurrent包中进行查询。

https://blog.csdn.net/qq_17257809/article/details/51637967

相关文章

网友评论

      本文标题:Collections

      本文链接:https://www.haomeiwen.com/subject/iazxactx.html