group-icon
Java Developers
Group for Java developers and programmers. Ask questions and get answers related to Java programming
263 Members
Join this group to post and comment.
Soubhik Maji
Soubhik Maji
Computer Science
15 Jan 2019

Collections continued..

Queue interface (extends collections) 


Dequeue  interface (extends queue)-insertion and deletion in both sides 


Blockind Queue interface extends queue(you can wait until an element is available or for space in queue to add 


Priority queue-( implements queue) - elements sorted in natural order,smaller numbers has higher priority


Array queue(implements deque)


Blockingqueue(implements blocking queue)


Linkedblockingqueue(implements blocking queue) -better  performance than array based queue 


----------------------------------------------------------