element
Retrieves, but does not remove, the head of this queue. This method differs from .peek only in that it throws an exception if this queue is empty.
Return
the head of this queue
Throws
if this queue is empty
Retrieves, but does not remove, the head of this queue. This method differs from .peek only in that it throws an exception if this queue is empty.
the head of this queue
if this queue is empty