From 9145feec500431d516138b6dcf94c0d2b2d9906e Mon Sep 17 00:00:00 2001 From: Samsara1994 <55482832+Samsara1994@users.noreply.github.com> Date: Wed, 25 Sep 2024 14:56:25 +0800 Subject: [PATCH] Update linkedhashmap-source-code.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 错别字更改 --- docs/java/collection/linkedhashmap-source-code.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/java/collection/linkedhashmap-source-code.md b/docs/java/collection/linkedhashmap-source-code.md index 4baabdc4..08c9a2bc 100644 --- a/docs/java/collection/linkedhashmap-source-code.md +++ b/docs/java/collection/linkedhashmap-source-code.md @@ -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) { //获取当前节点、以及前驱节点和后继节点