Queue.poll

Retrieves and removes the head of this queue, or returns {@code null} if this queue is empty.

@return the head of this queue, or {@code null} if this queue is empty

interface Queue(E)
E
poll
()

Meta