add method

void add (E value)
override

Adds value at the end of the queue.

Implementation

void add(E value) {
  _sentinel._prepend(value);
  _elementCount++;
}