目录 1.LinkedList概述 2. 分析源码 2.1 底层数据结构 2.2 Linkedlist集合方法 getFirst(),getLast() removeFirst(),removelast() remove(e),remove(index) add(e) addAll() clear() get() set() 判断索引的方法 indexOf()和lastIndexOf() Queue方法 Deque方法 1.LinkedList概述 LinkedList是一个顺序容器 是线程安全的 允许存放null值 允许存放重复值 底层采用双向循环链表进行存储 LinkedList同时实现了List接口和Deque接口 public class LinkedList<E> extends AbstractSequentialList<