Skip to content

Glossary: Java Beyond the Basics

ArrayDeque

Also written: Deque

A collection that works from both ends, so it can be a queue (offer, poll, peek) or a stack (push, pop). Deque is short for double-ended queue, said like "deck".

Where the book teaches it

Related terms

QueueFIFOLIFO