From f0203dccc271cd0dc1d87470a6385b201e814817 Mon Sep 17 00:00:00 2001 From: CyC2018 Date: Fri, 23 Oct 2026 04:39:44 +0800 Subject: [PATCH] =?UTF-8?q?Update=20Java=20=E5=AE=B9=E5=99=A8.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- notes/Java 容器.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes/Java 容器.md b/notes/Java 容器.md index b13bf7d5..d60c916a 100644 --- a/notes/Java 容器.md +++ b/notes/Java 容器.md @@ -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. 计算数组容量