Glossary: Software Design Patterns in Java
ArrayDeque
Also written: Deque
A Java collection that works well as a stack: `push` adds on top and `pop` removes the top. The cart's undo history uses it.
Glossary: Software Design Patterns in Java
Also written: Deque
A Java collection that works well as a stack: `push` adds on top and `pop` removes the top. The cart's undo history uses it.