void addFirst(E value)

Adds value at the beginning of the queue.

Source

void addFirst(E value) {
  _head = (_head - 1) & (_table.length - 1);
  _table[_head] = value;
  if (_head == _tail) _grow();
  _modificationCount++;
}