peek


Description:

public abstract G peek ()

Peeks (retrieves, but not remove) an element from this queue.

Returns:

the element peeked from the queue (or null if none was available)