Queue/PriorityQueue example
Deque/ArrayDeque example
Java overloading ambiguous