peek

fun peek(): E?

Returns the element with the highest priority.

Return

The element with the highest priority, or null if the queue is empty.