Uses of Interface
java.util.Deque
| Package | Description |
|---|---|
| java.util | |
| java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
-
Uses of Deque in java.util
Classes in java.util that implement Deque Modifier and Type Class Description classArrayDeque<E>Resizable-array implementation of theDequeinterface.classLinkedList<E>LinkedList is an implementation ofList, backed by a doubly-linked list.Methods in java.util with parameters of type Deque Modifier and Type Method Description static <T> Queue<T>Collections. asLifoQueue(Deque<T> deque)Returns a last-in, first-out queue as a view ofdeque. -
Uses of Deque in java.util.concurrent
Subinterfaces of Deque in java.util.concurrent Modifier and Type Interface Description interfaceBlockingDeque<E>ADequethat 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 in java.util.concurrent that implement Deque Modifier and Type Class Description classConcurrentLinkedDeque<E>An unbounded concurrent deque based on linked nodes.classLinkedBlockingDeque<E>An optionally-bounded blocking deque based on linked nodes.