ProLesson 7.1Intermediate3 min readUpdated 30 October 2026
The Collections Framework map
A clear map of List, Set, Queue and Map, the main classes behind each, and a simple way to pick the right one.
The Collections Framework (java.util) is Java's toolbox for groups of objects: lists of orders, sets of tags, a map from user ID to user. Knowing which collection to choose, and why, is one of the most tested skills in Java interviews.
01The map
text
Iterable
└── Collection
├── List ordered, allows duplicates, access by index
│ ├── ArrayList
│ └── LinkedList
├── Set no duplicates
│ ├── HashSet
│ ├── LinkedHashSet
│ └── TreeSet (sorted)
└── Queue process in order
├── PriorityQueue
└── Deque (double-ended)
├── ArrayDeque
└── LinkedList
Map key → value pairs (not a Collection)
├── HashMap
├── LinkedHashMap
└── TreeMap (sorted keys)Loading the rest of the lesson…