E removeLast()

Removes and returns the last element of the queue.

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

Source

E removeLast();