List, set, map, listsetmap
List, Set inheritance and Collection interfaces; map has no explicit inheritance class;
The List interface has three implementation classes: rule List, ArrayList, and Vector.
Hierarchical list: the underlying layer is implemented based on the linked list. Each element stores its own memory address and the address of the next element. Fast addition and deletion of linked lists, slow Query
The difference between ArrayList and Vector: ArrayList is non-thread-safe and efficient. Vector is thread-safe and inefficient.
The Set interface has two implementation classes: HashSet (implemented by HashMap at the underlying layer) and LinkedHashSet
The Map interface has three implementation classes: HashMap, HashTable, and LinkeHashMap.
HashMap is non-thread safe, efficient, and supports null; HashTable is thread safe, inefficient, and does not support null
Differences:
List features: elements are ordered and repeatable
Set features: unordered elements, not repeated
Map features: Key-value pairs of elements are stored without putting in order