Retrieves, but does not remove, the head of the queue represented by this deque. This method differs from {@link #peek peek} only in that itempty.
<p>This method is equivalent to {@link #getFirst() getFirst}.
@return the head of the queue represented by this deque @throws NoSuchElementException if this deque is empty
See Implementation
Retrieves, but does not remove, the head of the queue represented by this deque. This method differs from {@link #peek peek} only in that itempty.
<p>This method is equivalent to {@link #getFirst() getFirst}.
@return the head of the queue represented by this deque @throws NoSuchElementException if this deque is empty