removeFirst method
override
Removes and returns the first element of this queue.
The queue must not be empty when this method is called.
Implementation
@override
E removeFirst() {
if (_head == _tail) throw StateError('No element');
var result = _table[_head] as E;
_table[_head] = null;
_head = (_head + 1) & (_table.length - 1);
return result;
}