The type of elements held in the queue.
Protected
_dataProtected
_headProtected
_tailThe number of elements in the list.
Returns true if the queue has available space.
True if the queue has available space, false otherwise.
Returns true if the queue is empty.
True if the queue is empty, false otherwise.
Returns true if the queue is full.
True if the queue is full, false otherwise.
Returns an array of all elements in the queue.
An array of all elements in the queue or an empty array if the queue is empty.
Returns the number of available spaces in the queue.
The number of available spaces in the queue.
A queue data structure.