Retrieves, but does not remove, the head of this queue.
The head of this queue.
This method differs from Peek only in that it throws an exception if this queue is empty.
ALso note that this implementation returns the result of Peek unless the queue is empty.
|NoElementsException||If this queue is empty.|