Deque.removeLast

Retrieves and removes the last element of this deque. This method differs from {@link #pollLast pollLast} only in that it throws an exception if this deque is empty.

@return the tail of this deque @throws NoSuchElementException if this deque is empty

interface Deque(E)
E
removeLast
()

Meta