removeFirst method Null safety

E removeFirst()

Removes and returns the first element of this queue.

The queue must not be empty when this method is called.

Implementation

E removeFirst();