first property Null safety
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;
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.
E get first;