peek


Description:

public unowned T peek<T> ()

Peek the head element of the queue without removing it from the queue.

Parameters:

this

a AtomicQueue

Returns:

the head element of this or null when the queue is empty.