Optional
backReturns the top element of this Stack, or undefined if empty.
Optional
frontReturns the first item of this Queue, or undefined if empty.
Removes and returns the top element of this Stack, or undefined if empty.
Adds an item to this Queue.
Removes and returns the first item of this Queue, or undefined if empty.
Adds an element to the front of this Deque.
Generated using TypeDoc
A Deque with synchronous operations.