Uses of Interface
Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.
Utility classes commonly useful in concurrent programming.
Modifier and TypeInterfaceDescription
Deque<E>A linear collection that supports element insertion and removal at both ends.Modifier and TypeClassDescription
classThis class provides skeletal implementations of some
ArrayDeque<E>Resizable-array implementation of the
LinkedList<E>Doubly-linked list implementation of the
classAn unbounded priority queue based on a priority heap.Modifier and TypeMethodDescription
static <T> Queue<T>
static <E> Queue<E>Returns a dynamically typesafe view of the specified queue.
Uses of Queue in java.util.concurrentModifier and TypeInterfaceDescription
Dequethat additionally supports blocking operations that wait for the deque to become non-empty when retrieving an element, and wait for space to become available in the deque when storing an element.
Queuethat additionally supports operations that wait for the queue to become non-empty when retrieving an element, and wait for space to become available in the queue when storing an element.
BlockingQueuein which producers may wait for consumers to receive elements.Modifier and TypeClassDescription
classA bounded blocking queue backed by an array.
classAn unbounded concurrent deque based on linked nodes.
classAn unbounded thread-safe queue based on linked nodes.
classAn unbounded blocking queue of
Delayedelements, in which an element can only be taken when its delay has expired.
classAn optionally-bounded blocking deque based on linked nodes.
classAn optionally-bounded blocking queue based on linked nodes.
TransferQueuebased on linked nodes.
classA blocking queue in which each insert operation must wait for a corresponding remove operation by another thread, and vice versa.