TQueue<T>.Dequeue Method

Removes and returns the element at the beginning of the queue.

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

Return Value

Type: T

The element that is removed from the beginning of the queue.

Implements

IQueue<T>.Dequeue

This will return nil to prevent a dangling reference if the queue has ownership over the instances.