Skip to content

Commit 42e5b9f

Browse files
authored
Merge pull request frank-lam#47 from rovo98/rovo98
update: 02-Java集合框架.md
2 parents a14c7ab + 426d331 commit 42e5b9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notes/JavaArchitecture/02-Java集合框架.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1761,7 +1761,7 @@ List list = Arrays.asList(1,2,3);
17611761
17621762
**Hashtable 使用链地址法进行元素存储,通过一个实际的例子来演示一下插入元素的过程:**
17631763
1764-
假设我们现在 Hashtable 的容量为 5,已经存在了 (5,5),(13,13),(16,16),(17,17),(21,21) 这 5 个键值对,目前他们在 Hashtable 中的位置如下:
1764+
假设我们现在 Hashtable 的容量为 5,已经存在了 (8,8),(10,10),(13,13),(16,16),(17,17),(21,21) 这 6 个键值对,目前他们在 Hashtable 中的位置如下:
17651765
17661766
<div align="center"> <img src="assets/hashtable1.png" width=""/></div><br/>
17671767
@@ -1928,4 +1928,4 @@ static int indexFor(int h, int length) {
19281928
# 更新日志
19291929
19301930
- 2018/8/3 v2.5 基础版
1931-
- 2018/9/1 v3.0 初稿版
1931+
- 2018/9/1 v3.0 初稿版

0 commit comments

Comments
 (0)