hashmap 的改變

標題jdk 1.8 的hashmap 的改變 紅黑樹 hashmap的原理: 底層是一個數組,數組中裝着一個一個的Entry,使用哈希算法進行排序 之前的哈希算法 效率低 1.8的哈希算法 concurrenthashmap , hashset ,全部改變 concurrenthashmap 參考:https://www.jianshu.com/p/d0b37b927c48 併發級別:默認16
相關文章
相關標籤/搜索