List 总结

184 阅读1分钟
  1. List 是一个接口,它继承于Collection的接口。它代表着有序的队列
  2. AbstractList 是一个抽象类,它继承于AbstractCollection AbstractList实现List接口中除size()、get(int location)之外的函数
  3. AbstractSequentialList 是一个抽象类,它继承于AbstractList.AbstractSequentialList 实现了“链表中,根据index索引值操作链表的全部函数”
  4. (04) ArrayList(数组), LinkedList(链表), Vector(动态数组), Stack(栈) 是List的4个实现类。

image.png