X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..HEAD:/docs/source/MixedCollection.html diff --git a/docs/source/MixedCollection.html b/docs/source/MixedCollection.html index 19879a7c..df9f6646 100644 --- a/docs/source/MixedCollection.html +++ b/docs/source/MixedCollection.html @@ -3,8 +3,8 @@
/** - * @class Ext.util.MixedCollection +/** + * @class Ext.util.MixedCollection * <p> * Represents a collection of a set of key and value pairs. Each key in the MixedCollection * must be unique, the same key cannot exist twice. This collection is ordered, items in the @@ -47,15 +47,6 @@ var biggerThanZero = coll.filterBy(function(value){ console.log(biggerThanZero.getCount()); // prints 2 * </code></pre> * </p> - * - * @constructor - * @param {Boolean} allowFunctions Specify <tt>true</tt> if the {@link #addAll} - * function should add function references to the collection. Defaults to - * <tt>false</tt>. - * @param {Function} keyFn A function that can accept an item of the type(s) stored in this MixedCollection - * and return the key value for that item. This is used when available to look up the key on items that - * were passed without an explicit key parameter to a MixedCollection method. Passing this parameter is - * equivalent to providing an implementation for the {@link #getKey} method. */ Ext.define('Ext.util.MixedCollection', { extend: 'Ext.util.AbstractMixedCollection', @@ -63,6 +54,16 @@ Ext.define('Ext.util.MixedCollection', { sortable: 'Ext.util.Sortable' }, + /** + * Creates new MixedCollection. + * @param {Boolean} allowFunctions Specify <tt>true</tt> if the {@link #addAll} + * function should add function references to the collection. Defaults to + * <tt>false</tt>. + * @param {Function} keyFn A function that can accept an item of the type(s) stored in this MixedCollection + * and return the key value for that item. This is used when available to look up the key on items that + * were passed without an explicit key parameter to a MixedCollection method. Passing this parameter is + * equivalent to providing an implementation for the {@link #getKey} method. + */ constructor: function() { var me = this; me.callParent(arguments);