Friday, 8 April 2016

What are double-ended queue structures in Java ?


Double ended queue allows efficient insertion and removal from head and tail both.

Interfaces
Deque
BlockingDeque : extend Queue, BlockingQueue

Implementations
ArrayDeque
LinkedBlockingDeque

No comments:

Post a Comment

Note: only a member of this blog may post a comment.