Members
- 
    length
- 
    
    The length of the queue.
Methods
- 
    clear
- 
    
    
    Remove all items from the queue. 
- 
    contains
- 
    
    
    Check whether this queue contains the specified item. Parameters:Name Type Description theObject item to search for. 
- 
    dequeue
- 
    
    
    Dequeues an item. Returns undefined if the queue is empty. 
- 
    enqueue
- 
    
    
    Enqueues the specified item. Parameters:Name Type Description itemObject The item to enqueue. 
- 
    sort
- 
    
    
    Sort the items in the queue in-place. Parameters:Name Type Description compareFunctionFunction a function that defines the sort order. 
