1. Set tree view
Collection: The most basic set interface
----LIST: An ordered set in which elements in the collection can be repeated, access to elements in the collection can be accessed based on the index of the element
----ArrayList: Asynchronous
----LinkedList: Implements the dual interface of list and queue
----Vector: Synchronizing
----Stack: Last in, first out, synchronous
----Queue: A collection of first-in, first-out (FIFO) data structures
----LinkedList: Implements the dual interface of list and queue
----Set: Unordered collection, elements in the collection cannot be duplicated, with up to one null element
----Enumset: Enum type Private, single enum type, no null element, asynchronous
----SortedSet:
----TreeSet:
----HashSet:
----Linkedhashset:
MAP: Save Key-value to form elements, access only according to the key of each element to visit its value
----HASHMAP: Async, allow null, that is, null value and NULL key
----Weakhashmap: "weak reference" to key, if a key is no longer referenced externally, the key can be recycled by GC
----Hashtable: synchronous, NULL not allowed
2, SET STATISTICS information
3. Set traversal
Iterator (iterator): Hasnext () Next () Remove ()
Java Interview Summary--collection