popLast

Returns and removes the last element. The element was placed at the end of the sequence.

If there is no element in the collection, EmptyDequeAccessException is thrown.

Throws

when the collection is empty.