Internal
Deque. Implemented with a doubly linked list.
Type of deque data.
Private
Optional
The maximum size of the deque.
The size of the deque.
Returns an iterator for the deque.
An iterator for the deque.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols
Returns an backward iterator for the deque.
An backward iterator for the deque.
Clears the deque.
Peeks at the first data.
The first data or undefined if the deque is empty.
undefined
Peeks at the last data.
The last data or undefined if the deque is empty.
Pops data from the deque.
The popped data or undefined if the deque is empty.
Appends data to the deque.
Data to append.
The new size of the queue.
Shifts data from the deque.
The shifted data or undefined if the deque is empty.
Prepends data to the deque.
Data to prepend.
Generated using TypeDoc
Deque. Implemented with a doubly linked list.