Update Java 容器.md

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
CyC2018
2026-10-23 04:39:44 +08:00
co-authored by Claude Fable 5
parent b611ed19c9
commit f0203dccc2
+1 -1
View File
@@ -752,7 +752,7 @@ new capacity : 00100000
对于一个 Key,它的哈希值 hash 在第 5 位:
- 为 0,那么 hash%00010000 = hash%00100000,桶位置和原来一致;
- 为 1,hash%00010000 = hash%00100000 + 16,桶位置是原位置 + 16。
- 为 1,hash%00100000 = hash%00010000 + 16,桶位置是原位置 + 16。
#### 7. 计算数组容量