File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes collection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "collection" Watch "collection" New topic


meeta gaur
Ranch Hand

Joined: Dec 05, 2012
Posts: 305


Does Deque is different than Queue ?


My one regret in life is that I am not someone else.
- Woody Allen
Emanuel Kadziela
Ranch Hand

Joined: Mar 24, 2005
Posts: 187
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:
subject: collection
It's not a secret anymore!