SyntaxFix
Write A Post
Hire A Developer
Questions
Try ArrayDeque or LinkedList, which both implement the Queue interface.
ArrayDeque
LinkedList
Queue
http://docs.oracle.com/javase/6/docs/api/java/util/ArrayDeque.html