ConcurrentHashMap

ConcurrentHashMap 昨天面试的问到 ConcurrentHashMap这个集合,特来总结一下 简介:ConcurrentHashMap是Java中的一个线程安全且高效的HashMap实现。平时涉及高并发如果要用map结构 ConcurrentHashMap的结构 ConcurrentHashMap其实和hashMap的结构类似,当链表节点数超过指定阈值的话,也是会转换成红黑树的,大
相关文章
相关标签/搜索