insertLast method
- T element
Inserts an element at the last (rear) of the deque.
Implementation
void insertLast(T element) {
_queue.addLast(element);
}
Inserts an element at the last (rear) of the deque.
void insertLast(T element) {
_queue.addLast(element);
}