dojox.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)
parameter | type | description |
---|---|---|
arr | Array | Optional. |
FunctionsBack to top

clears the internal collection

creates a new Queue based on this one

shift the first element off the queue and return it
get an Iterator based on this queue.

get the next element in the queue without altering the queue.

return an array based on the internal array of the queue.