LinkedList

1.底层存储结构是一个Entry对像,

private static class Entry<E> {
E element;
Entry<E> next;
Entry<E> previous;


Entry(E element, Entry<E> next, Entry<E> previous) {
   this.element = element;
   this.next = next;
   this.previous = previous;
}
}

你可能感兴趣的:(LinkedList)