removeLast

open override fun removeLast()(source)

Removes the last element, making the collection one element fewer. The element is placed at the end of the sequence.

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

Throws

EmptyDequeAccessException

when the collection is empty.