Pick the right tool for the job: ArrayList or HashMap?
Scenario
Which collection fits best?
Heuristic: if you can say "given X, find Y" -> HashMap. Otherwise, ArrayList.