first property Null safety

E first

Returns the next element that will be returned by removeFirst.

The element is not removed from the queue.

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

Implementation

E get first;