Deque.pollFirst

Retrieves and removes the first element of this deque, or returns {@code null} if this deque is empty.

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

interface Deque(E)
E
pollFirst
()

Meta