MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / HashMap

Function HashMap

lib/test/angular/1.4.3/angular.js:3583–3591  ·  view source on GitHub ↗

* HashMap which can use objects as keys

(array, isolatedUid)

Source from the content-addressed store, hash-verified

3581 * HashMap which can use objects as keys
3582 */
3583function HashMap(array, isolatedUid) {
3584 if (isolatedUid) {
3585 var uid = 0;
3586 this.nextUid = function() {
3587 return ++uid;
3588 };
3589 }
3590 forEach(array, this.put, this);
3591}
3592HashMap.prototype = {
3593 /**
3594 * Store key value pair

Callers

nothing calls this directly

Calls 1

forEachFunction · 0.70

Tested by

no test coverage detected