public abstract E getFirst ()

Retrieves, but does not remove, the first element of this deque. This method differs from peekFirst only in that it throws an exception if this deque is empty.

Returns:  the head of this deque

Exceptions:
NoSuchElementException    if this deque is empty