auto commit

This commit is contained in:
CyC2018
2018-04-12 14:37:21 +08:00
parent 96ab138e07
commit bff39e5738
3 changed files with 4 additions and 4 deletions

View File

@ -567,7 +567,7 @@ static final int DEFAULT_CONCURRENCY_LEVEL = 16;
<div align="center"> <img src="../pics//image005.jpg"/> </div><br>
### 2. HashEntery 的不可变性
### 2. HashEntry 的不可变性
HashEntry 中的 keyhashnext 都声明为 final 型。这意味着,不能把节点添加到链接的中间和尾部,也不能在链接的中间和尾部删除节点。这个特性可以保证:在访问某个节点时,这个节点之后的链接不会被改变。这个特性可以大大降低处理链表时的复杂性。