a:17:{s:9:"#provides";s:23:"dojox.collections.Stack";s:9:"#resource";s:20:"collections/Stack.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.Stack";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:1727:"dojo.provide("dojox.collections.Stack"); dojo.require("dojox.collections._base"); dojox.collections.Stack=function(/* array? */arr){ // summary // returns an object of type dojox.collections.Stack var q=[]; if (arr) q=q.concat(arr); this.count=q.length; this.clear=function(){ // summary // Clear the internal array and reset the count q=[]; this.count=q.length; }; this.clone=function(){ // summary // Create and return a clone of this Stack return new dojox.collections.Stack(q); }; this.contains=function(/* object */o){ // summary // check to see if the stack contains object o for (var i=0; i