changed Deque and related classed to Queue and LinkedList for supporting
android SDK below API 9.
changed Deque and related classed to Queue and LinkedList for supporting
android SDK below API 9.