IQueue<T>.Peek Method

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

Namespace: Spring.Collections
public
 function Peek: T;

Return Value

Type: T

The element at the beginning of the queue.