Retrieves and removes the head of this queue. This method differs from poll only in that it throws an exception if this queue is empty.
poll
Returns: the head of this queue
Exceptions:
NoSuchElementException
Diagram: Collection Queue