| Package | Description |
|---|---|
| java.util |
Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
|
| java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayDeque<E>
Resizable-array implementation of the
Deque interface.
|
class |
LinkedList<E>
Doubly-linked list implementation of the
List and
Deque interfaces.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Queue |
Collections.asLifoQueue(Deque
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
BlockingDeque<E>
A
Deque 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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConcurrentLinkedDeque<E>
An unbounded concurrent
deque based on linked nodes.
|
class |
LinkedBlockingDeque<E>
An optionally-bounded
blocking deque based on linked nodes.
|