How to use List ArrayList LinkedList in the Java Collection Framework
This article mainly explains the "Java collection framework how to use List ArrayList LinkedList", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "Java collection framework how to use List ArrayList LinkedList" bar!
Catalogue
1. List
1.1 Common methods of List
1.2 Code example
2. ArrayList
2.1 introduction
2.2 the construction method of ArrayList
2.3 the size of the underlying array of ArrayList
3. LinkedList
3.1 introduction
3.2 the construction method of LinkedList
4. Exercises
5. Poker Mini Game
1. Common methods of List1.1 List describe boolean add (E) tail insert evoid add (int index, E element) insert e into index location boolean addAll (Collection)