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

Function HashMap

test/angular/1.5/angular.js:3854–3862  ·  view source on GitHub ↗

* HashMap which can use objects as keys

(array, isolatedUid)

Source from the content-addressed store, hash-verified

3852 * HashMap which can use objects as keys
3853 */
3854function HashMap(array, isolatedUid) {
3855 if (isolatedUid) {
3856 var uid = 0;
3857 this.nextUid = function() {
3858 return ++uid;
3859 };
3860 }
3861 forEach(array, this.put, this);
3862}
3863HashMap.prototype = {
3864 /**
3865 * Store key value pair

Callers

nothing calls this directly

Calls 1

forEachFunction · 0.70

Tested by

no test coverage detected