Interface IQueue<T>

The interface describing the operations of a FIFO queue data structure.
Type parameters:
TThe item type

Implements

IEnumerable<T>, System.Collections.IEnumerable, System.IFormattable, ICollectionValue<T>, IDirectedCollectionValue<T>, IDirectedEnumerable<T>, IShowable

Implemented by

ArrayList<T>, CircularQueue<T>, GuardedQueue<T>, LinkedList<T>

Property overview

AllowsDuplicates ,
this[int index]

Method overview

Dequeue() ,
Enqueue(T item)

Property details

A bool AllowsDuplicatesAccess: Read-Only

Value:

A T this[int index]Access: Read-Only
Get the index'th element of the queue. The front of the queue has index 0.
Parameters:
index:

Method details

A T Dequeue() Dequeue an item from the front of the queue.
Returns:The item
A void Enqueue(T item) Enqueue an item at the back of the queue.
Parameters:
item:The item