Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Java 是否将 w-linkedlist 实现为 java.util.LinkedList 的实现?如果不是,实现了哪种算法?
编辑:请阅读双向链表(通常'w'字符随意用于双重)
这可能是一个起点:
java.util.LinkedList
如果我正确理解了您的问题,那么答案将是Yes,因为LinkedList.Node该类包含指向上一个和下一个元素的链接:
LinkedList.Node
Node<E> next; Node<E> prev;