A generic Queue class.
The type of elements in the queue.
Protected
The array to hold the queue's elements.
Gets the size of the queue.
The size of the queue.
Creates an iterator for the queue.
The next element in the queue.
Removes an item from the start of the queue.
The removed item.
If the queue is empty.
Adds an item to the end of the queue.
The item to add to the queue.
The Queue instance.
Converts the queue to an array.
An array containing the queue's elements.
Converts the queue to a JSON string.
A JSON string representing the queue.
Static
Creates a new Queue instance from an iterable.
The type of elements in the iterable.
The iterable to create the queue from.
A new Queue instance.
Creates a new Queue instance from a JSON string.
The type of elements in the JSON string.
The JSON string to create the queue from.
Generated using TypeDoc
A generic Queue class.