LinkedList.peekFirst

Retrieves, but does not remove, the first element of this list, or returns {@code null} if this list is empty.

@return the first element of this list, or {@code null} if this list is empty

class LinkedList(E)
E
peekFirst
()

Meta