We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c8fd98 commit 2e75bdeCopy full SHA for 2e75bde
docs/b-2Java集合.md
@@ -234,7 +234,7 @@ static int hash(int h) {
234
235
**JDK1.8 的 ConcurrentHashMap:**
236
237
-
+
238
239
JDK1.8 的 `ConcurrentHashMap` 不在是 **Segment 数组 + HashEntry 数组 + 链表**,而是 **Node 数组 + 链表 / 红黑树**。不过,Node 只能用于链表的情况,红黑树的情况需要使用 **`TreeNode`**。当冲突链表达到一定长度时,链表会转换成红黑树。
240
0 commit comments