Constructordojox.collections.Queue

dojo.require("dojox.collections.Queue");
defined in dojox/collections/Queue.js

return an object of type dojox.collections.Queue

Usage

function (/*Array?*/ arr) (view source)
parametertypedescription
arrArrayOptional.

Jump to PropertiesFunctionsBack to top

clears the internal collection
creates a new Queue based on this one
Check to see if the passed object is an element in this queue
FunctioncopyTo(arr: Array, i: Integer)
Copy the contents of this queue into the passed array at index i.
shift the first element off the queue and return it
put the passed object at the end of the queue
FunctionforEach(fn: Function, scope: Object?)
functional iterator, following the mozilla spec.
get an Iterator based on this queue.
Functionpeek()
get the next element in the queue without altering the queue.
return an array based on the internal array of the queue.

Jump to FunctionsPropertiesBack to top