Protected
_arrayProtected
_headProtected
_sizeProtected
_tailReturns true if the queue is empty.
Protected
_dequeueProtected
_enqueueProtected
_getProtected
_peekPulls an entry from the head of the queue and returns it. Returns undefined if the queue is already empty.
Pulls an entry from the head of the queue and returns it. Returns undefined if the queue is already empty and throwIfEmpty is false.
If the queue is already empty and throwIfEmpty is true.
Pulls an entry from the head of the queue and returns it. Returns undefined if the queue is already empty and throwIfEmpty is false.
If the queue is already empty and throwIfEmpty is true.
Returns the entry at the head of the queue. Returns undefined if the queue is already empty.
Returns the entry at the head of the queue. Returns undefined if the queue is already empty and throwIfEmpty is false.
If the queue is already empty and throwIfEmpty is true.
Returns the entry at the head of the queue. Returns undefined if the queue is already empty and throwIfEmpty is false.
If the queue is already empty and throwIfEmpty is true.
Checks to see if the queue has entries an pulls an entry from the head of the queue and passes it to the out handler.
True if a value was retrieved. False if not.
The 'out' handler that receives the value if it exists.
Generated using TypeDoc
The number of items currently in the queue.
Returns