When data flows FIFO (first-in, first-out), LIFO (last-in, first-out stacks), or highest-priority-first, Queue and Deque fit far better than ArrayList. Understanding ArrayDeque's speed and PriorityQueue's iterator subtlety avoids classic mistakes.
More lessons in Complete Core Java