java.util.LinkedList is the easiest.
java.util.ArrayDeque is the fastest.
Although this does not apply to you, it java.util.concurrent.ConcurrentLinkedQueueis most bulletproof in that you can have multiple threads that all communicate with it at the same time without worrying.
source
share