IQueue<T>.Enqueue Method

Definition

Adds an element to the end of the queue.

Delphi
function Enqueue(const item: T): Boolean

Parameters

item
T

The element to add to the queue. The value can be nil for reference types.

Returns

Boolean

True if the element was added, False otherwise.