结点
add总结 1.new新节点Node,关联前节点后节点
add总结
1.new新节点Node,关联前节点后节点
1.remove(Object o)
2.remove(index)
remove总结 1.remove(Object o)找到该元素,断开前后连接,将该元素设为null 2.remove(index) 先检查index,再 断开前后连接,将该元素设为null
remove总结
1.remove(Object o)找到该元素,断开前后连接,将该元素设为null
2.remove(index) 先检查index,再 断开前后连接,将该元素设为null