a:17:{s:9:"#provides";s:23:"dojox.collections.Queue";s:9:"#resource";s:20:"collections/Queue.js";s:9:"#requires";a:1:{i:0;a:2:{i:0;s:6:"common";i:1;s:23:"dojox.collections._base";}}s:23:"dojox.collections.Queue";a:6:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:3:"arr";a:2:{s:8:"optional";b:1;s:4:"type";s:5:"array";}}s:6:"source";s:1795:"dojo.provide("dojox.collections.Queue"); dojo.require("dojox.collections._base"); dojox.collections.Queue=function(/* array? */arr){ // summary // return an object of type dojox.collections.Queue var q=[]; if (arr){ q=q.concat(arr); } this.count=q.length; this.clear=function(){ // summary // clears the internal collection q=[]; this.count=q.length; }; this.clone=function(){ // summary // creates a new Queue based on this one return new dojox.collections.Queue(q); // dojox.collections.Queue }; this.contains=function(/* object */ o){ // summary // Check to see if the passed object is an element in this queue for(var i=0; i