insertFront method
- T element
Inserts an element at the front of the deque.
Implementation
void insertFront(T element) {
_queue.addFirst(element);
}
Inserts an element at the front of the deque.
void insertFront(T element) {
_queue.addFirst(element);
}