- Details
- Written by Nam Ha Minh
- Last Updated on 13 June 2019   |   Print Email
This post helps you understand how the Queue interfaces and classes are design in the Java Collections framework.
Queue API is the most complex API in the family of Java Collections Framework. Queue<E>is the base interface for all kind of queues.
- Sub interfaces: BlockingQueue<E>, Deque<E> and BlockingDeque<E>.
- Abstract classes: AbstractQueue<E>.
- Implementation classes:
- ArrayBlockingQueue<E>
- ArrayDeque<E>
- ConcurrentLinkedQueue<E>
- DelayQueue<E extends Delayed>
- LinkedBlockingDeque<E>
- LinkedBlockingQueue<E>
- LinkedList<E>
- PriorityBlockingQueue<E>
- PriorityQueue<E>
- SynchronousQueue<E>
The following class diagram outlines the hierarchy of Queue API:
Related Java Queue Tutorials:
Other Java Collections Tutorials:
About the Author:
Nam Ha Minh is certified Java programmer (SCJP and SCWCD). He started programming with Java in the time of Java 1.4 and has been falling in love with Java since then. Make friend with him on
Facebook and watch
his Java videos you YouTube.