add method
- E value
override
Adds value
at the end of the queue.
Implementation
void add(E value) {
_sentinel._prepend(value, this);
_elementCount++;
}
Adds value
at the end of the queue.
void add(E value) {
_sentinel._prepend(value, this);
_elementCount++;
}