public class <T> : MContainer<T>
The implementation of a double-ended Queue; a 'Deque'.
Summary:
Initialisation of a new MDeque with an Initial Size of T-defaulted Elements.
Params:
Elements:
Initial Elements.
Summary:
Initialisation of a new MDeque with an Initial Size of T-defaulted Elements.
Params:
InitialSize:
Initial capacity of Elements.
Summary:
Initialisation of a new MDeque with 32 T-defaulted Elements.
public void
Summary:
Adds an Element to the front of the Queue.
Params:
Element:
The Element to add.
public void
Summary:
Adds an Element to the end of the Queue.
Params:
Element:
The Element to add.
public T
Summary:
Gets the Element at the front of the Queue.
Returns:
The Element at the front of the Queue.
public T
Summary:
Gets the Element at the end of the Queue.
Returns:
The Element at the end of the Queue.
public T
Summary:
Gets and removes the Element at the front of the Queue.
Returns:
The Element that was at the front of the Queue.
public T
Summary:
Gets and removes the Element at the end of the Queue.
Returns:
The Element that was at the end of the Queue.
public override T[]
Summary:
Abstract implementation from MContainer
Returns:
T[].
public T
Summary:
Square bracket accessor.
Params:
I:
The index to access T Element.
Returns:
Element at the specified index.