Skip to main content

DynamicQueue<T>

A class in Root.Township, Alta.Blacksmithing.

A circular doubly linked queue of elements that link themselves (IDynamicQueueElement). Recycler uses it to rotate through its output slots.

Constructors​

MemberWhat it is
DynamicQueue()Creates a DynamicQueue with default values.

Properties​

MemberWhat it is
T First { get; private set; }The element at the front of the queue.
bool IsEmpty { get; private set; }True until the first element is added. Nothing sets it back.

Methods​

MemberWhat it is
void Enque(T element)Adds the element at the back of the queue, just before First.
void Update(T element)Moves the element to the back of the queue. If it is First, the next element becomes First.

Used in​

Members of other types that take, return or hold a DynamicQueue&lt;T>: