A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Dec 05, 2012
Jan 22, 2013 09:05:28
Does Deque is different than Queue ?
My one regret in life is that I am not someone else.
- Woody Allen
Joined: Mar 24, 2005
Jan 22, 2013 09:20:01
Yes, Dequeue extends Queue, adding the ability to add and remove elements at both ends (head and tail) as opposed to just the head.
I agree. Here's the link:
How to retrieve the last object from a iterator
Queue Algorithm Doubt
What is linear collection in java?
Difference between add() and addList() methods?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015