Deque.peekFirst

Retrieves, but does not remove, 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
peekFirst
()

Meta