A non-negative integer indicating the number of elements in the collection.
A boolean indicating whether the collection is empty.
Removes an item from the queue.
The dequeued item.
Pushes an item to the queue.
Retrieves, but does not remove, the head of this queue i.e. then item that will be
removed if dequeue()
is called.
The head element.
Converts the collection into a plain array.
A new array containing all the items in the collection.
Generated using TypeDoc
A FIFO queue implemented with a singly-linked list.