mirror of
https://github.com/Snailclimb/JavaGuide
synced 2025-08-01 16:28:03 +08:00
Update linkedhashmap-source-code.md
错别字更改
This commit is contained in:
parent
c800fc05bf
commit
9145feec50
@ -258,7 +258,7 @@ public V get(Object key) {
|
||||
```java
|
||||
void afterNodeAccess(Node < K, V > e) { // move node to last
|
||||
LinkedHashMap.Entry < K, V > last;
|
||||
//如果accessOrder 且当前节点不未链表尾节点
|
||||
//如果accessOrder 且当前节点不为链表尾节点
|
||||
if (accessOrder && (last = tail) != e) {
|
||||
|
||||
//获取当前节点、以及前驱节点和后继节点
|
||||
|
Loading…
x
Reference in New Issue
Block a user