1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

添加// 注释

This commit is contained in:
yangzheng 2019-03-12 14:17:08 +08:00
parent 9e07a4c7b9
commit 056b37e3ea

View File

@ -359,7 +359,7 @@ E unlink(Node<E> x) {
//删除前驱指针
if (prev == null) {
first = next;如果删除的节点是头节点,令头节点指向该节点的后继节点
first = next;//如果删除的节点是头节点,令头节点指向该节点的后继节点
} else {
prev.next = next;//将前驱节点的后继节点指向后继节点
x.prev = null;