addLast method
void
addLast(
- E element
Adds an element to the rear of the queue.
Implementation
void addLast(E element) {
offer(element);
}
Adds an element to the rear of the queue.
void addLast(E element) {
offer(element);
}