remove
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.
Return
the head of this queue
Throws
if this queue is empty
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.
the head of this queue
if this queue is empty