JavaIntermediate#collections

Explain the Collections framework hierarchy.

Iterable → Collection → List (ArrayList, LinkedList), Set (HashSet, TreeSet, LinkedHashSet), Queue (PriorityQueue, Deque). Map is separate: HashMap, LinkedHashMap, TreeMap, ConcurrentHashMap.

Example
List<String> list = new ArrayList<>();
Set<String> set = new TreeSet<>();
Map<String,Integer> map = new HashMap<>();

Related Questions

1
JavaBeginner#collections#list

ArrayList vs LinkedList?

Open
2
JavaIntermediate#collections#concurrency

HashMap vs Hashtable vs ConcurrentHashMap?

Open
3
JavaAdvanced#collections#hashmap

How does HashMap work internally?

Open