TQueue<T>.Peek Method

Returns the element at the beginning of the queue without removing it.

Namespace: Spring.Collections.Queues
public
 function Peek: T;

Return Value

Type: T

The element at the beginning of the queue.

Implements

IQueue<T>.Peek