1 Ext.data.JsonP.Ext_util_HashMap({
3 "name": "Ext.util.HashMap",
4 "doc": "<p>\nRepresents a collection of a set of key and value pairs. Each key in the HashMap\nmust be unique, the same key cannot exist twice. Access to items is provided via\nthe key only. Sample usage:\n<pre><code>var map = new Ext.util.HashMap();\nmap.add('key1', 1);\nmap.add('key2', 2);\nmap.add('key3', 3);\n\nmap.each(function(key, value, length){\n console.log(key, value, length);\n});\n</code></pre>\n</p>\n\n\n\n\n<p>The HashMap is an unordered class,\nthere is no guarantee when iterating over the items that they will be in any particular\norder. If this is required, then use a <a href=\"#/api/Ext.util.MixedCollection\" rel=\"Ext.util.MixedCollection\" class=\"docClass\">Ext.util.MixedCollection</a>.\n</p>\n\n",
9 "alternateClassNames": [
21 "member": "Ext.util.HashMap",
23 "doc": "<p>A function that is used to retrieve a default key for a passed object.\nA default is provided that returns the <b>id</b> property on the object. This function is only used\nif the add method is called with a single argument.</p>\n",
25 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/HashMap.js",
27 "html_filename": "HashMap.html",
28 "href": "HashMap.html#Ext-util-HashMap-cfg-keyFn",
29 "shortDoc": "A function that is used to retrieve a default key for a passed object.\nA default is provided that returns the id prop..."
36 "member": "Ext.util.HashMap",
42 "doc": "<p>The configuration options</p>\n",
52 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/HashMap.js",
54 "html_filename": "HashMap.html",
55 "href": "HashMap.html#Ext-util-HashMap-method-constructor",
61 "member": "Ext.util.HashMap",
62 "doc": "<p>Adds an item to the collection. Fires the <a href=\"#/api/Ext.util.HashMap-event-add\" rel=\"Ext.util.HashMap-event-add\" class=\"docClass\">add</a> event when complete.</p>\n",
67 "doc": "<p>The key to associate with the item, or the new item.</p>\n\n\n<p>If a <a href=\"#/api/Ext.util.HashMap--getKey\" rel=\"Ext.util.HashMap--getKey\" class=\"docClass\">getKey</a> implementation was specified for this HashMap,\nor if the key of the stored items is in a property called <tt><b>id</b></tt>,\nthe HashMap will be able to <i>derive</i> the key for the new item.\nIn this case just pass the new item in this parameter.</p>\n\n",
73 "doc": "<p>The item to add.</p>\n",
79 "doc": "<p>The item added.</p>\n"
83 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/HashMap.js",
85 "html_filename": "HashMap.html",
86 "href": "HashMap.html#Ext-util-HashMap-method-add",
87 "shortDoc": "<p>Adds an item to the collection. Fires the <a href=\"#/api/Ext.util.HashMap-event-add\" rel=\"Ext.util.HashMap-event-add\" class=\"docClass\">add</a> event when complete.</p>\n"
92 "member": "Ext.util.HashMap",
93 "doc": "<p>Removes all items from the hash.</p>\n",
103 "type": "Ext.util.HashMap",
104 "doc": "<p>this</p>\n"
108 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/HashMap.js",
110 "html_filename": "HashMap.html",
111 "href": "HashMap.html#Ext-util-HashMap-method-clear",
112 "shortDoc": "<p>Removes all items from the hash.</p>\n"
117 "member": "Ext.util.HashMap",
118 "doc": "<p>Performs a shallow copy on this hash.</p>\n",
123 "type": "Ext.util.HashMap",
124 "doc": "<p>The new hash object.</p>\n"
128 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/HashMap.js",
130 "html_filename": "HashMap.html",
131 "href": "HashMap.html#Ext-util-HashMap-method-clone",
132 "shortDoc": "<p>Performs a shallow copy on this hash.</p>\n"
137 "member": "Ext.util.HashMap",
138 "doc": "<p>Checks whether a value exists in the hash.</p>\n",
143 "doc": "<p>The value to check for.</p>\n",
149 "doc": "<p>True if the value exists in the dictionary.</p>\n"
153 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/HashMap.js",
155 "html_filename": "HashMap.html",
156 "href": "HashMap.html#Ext-util-HashMap-method-contains",
157 "shortDoc": "<p>Checks whether a value exists in the hash.</p>\n"
161 "name": "containsKey",
162 "member": "Ext.util.HashMap",
163 "doc": "<p>Checks whether a key exists in the hash.</p>\n",
168 "doc": "<p>The key to check for.</p>\n",
174 "doc": "<p>True if they key exists in the hash.</p>\n"
178 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/HashMap.js",
180 "html_filename": "HashMap.html",
181 "href": "HashMap.html#Ext-util-HashMap-method-containsKey",
182 "shortDoc": "<p>Checks whether a key exists in the hash.</p>\n"
187 "member": "Ext.util.HashMap",
188 "doc": "<p>Executes the specified function once for each item in the hash.\nReturning false from the function will cease iteration.</p>\n\n<p>The paramaters passed to the function are:</p>\n\n<div class=\"mdetail-params\"><ul>\n<li><b>key</b> : String<p class=\"sub-desc\">The key of the item</p></li>\n<li><b>value</b> : Number<p class=\"sub-desc\">The value of the item</p></li>\n<li><b>length</b> : Number<p class=\"sub-desc\">The total number of items in the hash</p></li>\n</ul></div>\n\n",
193 "doc": "<p>The function to execute.</p>\n",
199 "doc": "<p>The scope to execute in. Defaults to <tt>this</tt>.</p>\n",
204 "type": "Ext.util.HashMap",
205 "doc": "<p>this</p>\n"
209 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/HashMap.js",
211 "html_filename": "HashMap.html",
212 "href": "HashMap.html#Ext-util-HashMap-method-each",
213 "shortDoc": "Executes the specified function once for each item in the hash.\nReturning false from the function will cease iteratio..."
218 "member": "Ext.util.HashMap",
219 "doc": "<p>Retrieves an item with a particular key.</p>\n",
224 "doc": "<p>The key to lookup.</p>\n",
230 "doc": "<p>The value at that key. If it doesn't exist, <tt>undefined</tt> is returned.</p>\n"
234 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/HashMap.js",
236 "html_filename": "HashMap.html",
237 "href": "HashMap.html#Ext-util-HashMap-method-get",
238 "shortDoc": "<p>Retrieves an item with a particular key.</p>\n"
243 "member": "Ext.util.HashMap",
244 "doc": "<p>Gets the number of items in the hash.</p>\n",
250 "doc": "<p>The number of items in the hash.</p>\n"
254 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/HashMap.js",
256 "html_filename": "HashMap.html",
257 "href": "HashMap.html#Ext-util-HashMap-method-getCount",
258 "shortDoc": "<p>Gets the number of items in the hash.</p>\n"
263 "member": "Ext.util.HashMap",
264 "doc": "<p>Return all of the keys in the hash.</p>\n",
270 "doc": "<p>An array of keys.</p>\n"
274 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/HashMap.js",
276 "html_filename": "HashMap.html",
277 "href": "HashMap.html#Ext-util-HashMap-method-getKeys",
278 "shortDoc": "<p>Return all of the keys in the hash.</p>\n"
283 "member": "Ext.util.HashMap",
284 "doc": "<p>Return all of the values in the hash.</p>\n",
290 "doc": "<p>An array of values.</p>\n"
294 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/HashMap.js",
296 "html_filename": "HashMap.html",
297 "href": "HashMap.html#Ext-util-HashMap-method-getValues",
298 "shortDoc": "<p>Return all of the values in the hash.</p>\n"
303 "member": "Ext.util.HashMap",
304 "doc": "<p>Remove an item from the hash.</p>\n",
309 "doc": "<p>The value of the item to remove.</p>\n",
315 "doc": "<p>True if the item was successfully removed.</p>\n"
319 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/HashMap.js",
321 "html_filename": "HashMap.html",
322 "href": "HashMap.html#Ext-util-HashMap-method-remove",
323 "shortDoc": "<p>Remove an item from the hash.</p>\n"
327 "name": "removeAtKey",
328 "member": "Ext.util.HashMap",
329 "doc": "<p>Remove an item from the hash.</p>\n",
334 "doc": "<p>The key to remove.</p>\n",
340 "doc": "<p>True if the item was successfully removed.</p>\n"
344 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/HashMap.js",
346 "html_filename": "HashMap.html",
347 "href": "HashMap.html#Ext-util-HashMap-method-removeAtKey",
348 "shortDoc": "<p>Remove an item from the hash.</p>\n"
353 "member": "Ext.util.HashMap",
354 "doc": "<p>Replaces an item in the hash. If the key doesn't exist, the\n<a href=\"#/api/Ext.util.HashMap-event-add\" rel=\"Ext.util.HashMap-event-add\" class=\"docClass\">add</a> method will be used.</p>\n",
359 "doc": "<p>The key of the item.</p>\n",
365 "doc": "<p>The new value for the item.</p>\n",
371 "doc": "<p>The new value of the item.</p>\n"
375 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/HashMap.js",
377 "html_filename": "HashMap.html",
378 "href": "HashMap.html#Ext-util-HashMap-method-replace",
379 "shortDoc": "<p>Replaces an item in the hash. If the key doesn't exist, the\n<a href=\"#/api/Ext.util.HashMap-event-add\" rel=\"Ext.util.HashMap-event-add\" class=\"docClass\">add</a> method will be used.</p>\n"
389 "member": "Ext.util.HashMap",
390 "doc": "<p>Fires when a new item is added to the hash</p>\n",
393 "type": "Ext.util.HashMap",
401 "doc": "<p>The key of the added item.</p>\n",
407 "doc": "<p>The value of the added item.</p>\n",
412 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/HashMap.js",
414 "html_filename": "HashMap.html",
415 "href": "HashMap.html#Ext-util-HashMap-event-add",
416 "shortDoc": "<p>Fires when a new item is added to the hash</p>\n"
421 "member": "Ext.util.HashMap",
422 "doc": "<p>Fires when the hash is cleared.</p>\n",
425 "type": "Ext.util.HashMap",
432 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/HashMap.js",
434 "html_filename": "HashMap.html",
435 "href": "HashMap.html#Ext-util-HashMap-event-clear",
436 "shortDoc": "<p>Fires when the hash is cleared.</p>\n"
441 "member": "Ext.util.HashMap",
442 "doc": "<p>Fires when an item is removed from the hash.</p>\n",
445 "type": "Ext.util.HashMap",
453 "doc": "<p>The key of the removed item.</p>\n",
459 "doc": "<p>The value of the removed item.</p>\n",
464 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/HashMap.js",
466 "html_filename": "HashMap.html",
467 "href": "HashMap.html#Ext-util-HashMap-event-remove",
468 "shortDoc": "<p>Fires when an item is removed from the hash.</p>\n"
473 "member": "Ext.util.HashMap",
474 "doc": "<p>Fires when an item is replaced in the hash.</p>\n",
477 "type": "Ext.util.HashMap",
485 "doc": "<p>The key of the replaced item.</p>\n",
491 "doc": "<p>The new value for the item.</p>\n",
497 "doc": "<p>The old value for the item.</p>\n",
502 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/HashMap.js",
504 "html_filename": "HashMap.html",
505 "href": "HashMap.html#Ext-util-HashMap-event-replace",
506 "shortDoc": "<p>Fires when an item is replaced in the hash.</p>\n"
509 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/HashMap.js",
511 "html_filename": "HashMap.html",
512 "href": "HashMap.html#Ext-util-HashMap",