//>>built define("dojox/collections/Queue", ["dojo/_base/kernel", "dojo/_base/array", "./_base"], function(dojo, darray, dxc){ /*===== var dxc = dojox.collections; =====*/ dxc.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 dxc.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