Uses of Interface
java.util.Deque
Packages that useDeque
Package
Description
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.
Uses ofDeque injava.util
Modifier and TypeClassDescriptionclass
ArrayDeque<E>
Resizable-array implementation of theDeque
interface.class
LinkedList<E>
Doubly-linked list implementation of theList
andDeque
interfaces.Uses ofDeque injava.util.concurrent
Subinterfaces ofDeque injava.util.concurrentModifier and TypeInterfaceDescriptioninterface
ADeque
that 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.Classes injava.util.concurrent that implementDequeModifier and TypeClassDescriptionclass
An unbounded concurrentdeque based on linked nodes.class
An optionally-boundedblocking deque based on linked nodes.