MCPcopy Create free account
hub / github.com/OpenReservation/OpenReservation / HashMap

Function HashMap

OpenReservation/wwwroot/Scripts/angular.js:3704–3712  ·  view source on GitHub ↗

* HashMap which can use objects as keys

(array, isolatedUid)

Source from the content-addressed store, hash-verified

3702 * HashMap which can use objects as keys
3703 */
3704 function HashMap(array, isolatedUid) {
3705 if (isolatedUid) {
3706 var uid = 0;
3707 this.nextUid = function () {
3708 return ++uid;
3709 };
3710 }
3711 forEach(array, this.put, this);
3712 }
3713
3714 HashMap.prototype = {
3715 /**

Callers

nothing calls this directly

Calls 1

forEachFunction · 0.85

Tested by

no test coverage detected