addFirst method
- E value
override
Adds value at the beginning of the queue.
Documentation inherited from Queue.addFirst.
Implementation
void addFirst(E value) {
_sentinel._append(value, this);
_elementCount++;
}
Adds value at the beginning of the queue.
Documentation inherited from Queue.addFirst.
void addFirst(E value) {
_sentinel._append(value, this);
_elementCount++;
}