ConcurrentHashMap实现原理

前言

基于jdk1.7.0_80

关注点 结论
ConcurrentHashMap是否允许空 key和value均不允许为空
ConcurrentHashMap是否允许重复数据 不允许
ConcurrentHashMap是否有序 无序
ConcurrentHashMap是否线程安全 线程安全

源码

这里写图片描述

参考博客

[1]http://ifeve.com/concurrenthashmap/
[2]http://www.importnew.com/21781.html
[3]http://www.importnew.com/22007.html
[4]https://www.cnblogs.com/chengxiao/p/6842045.html
[5]http://www.sohu.com/a/205451532_684445
[6]https://blog.csdn.net/qq_19431333/article/details/76461491

猜你喜欢

转载自blog.csdn.net/zzti_erlie/article/details/80179487