The most important feature of List is order; It ensures that elements are saved in a certain order. List adds a large number of methods to the collection, which enables it to insert and delete elements in the middle of the sequence. (only recommended for LinkedList. )
List can be a ListIterator object. You can not only insert and delete elements in the middle of the list, but also traverse the list in both directions.
Extended data
Linked list: Linked list is thread unsafe and sequential access is optimized. Inserting and deleting elements in the middle of the list is also inexpensive. Random access is relatively slow. (use ArrayList. )
In addition, it also has methods such as addFirst (), addLast (), getFirst (), getLast (), removeFirst () and removeLast () (these methods, interfaces and base classes are undefined), and it can be used as a stack, queue or bidirectional queue.
Baidu Encyclopedia -JAVA Collection Framework
Baidu encyclopedia -JavaList collection