Sha256: 4c8dd772df99ba6e4be2358dbf33d9c624f1350a465d09bb47266934679ba49c

Contents?: true

Size: 851 Bytes

Versions: 49

Compression:

Stored size: 851 Bytes

Contents

"use strict";
var FastMap = (function () {
    function FastMap() {
        this.values = {};
    }
    FastMap.prototype.delete = function (key) {
        this.values[key] = null;
        return true;
    };
    FastMap.prototype.set = function (key, value) {
        this.values[key] = value;
        return this;
    };
    FastMap.prototype.get = function (key) {
        return this.values[key];
    };
    FastMap.prototype.forEach = function (cb, thisArg) {
        var values = this.values;
        for (var key in values) {
            if (values.hasOwnProperty(key) && values[key] !== null) {
                cb.call(thisArg, values[key], key);
            }
        }
    };
    FastMap.prototype.clear = function () {
        this.values = {};
    };
    return FastMap;
}());
exports.FastMap = FastMap;
//# sourceMappingURL=FastMap.js.map

Version data entries

49 entries across 49 versions & 4 rubygems

Version Path
ilog-0.4.1 node_modules/rxjs/util/FastMap.js
ilog-0.4.0 node_modules/rxjs/util/FastMap.js
ilog-0.3.3 node_modules/rxjs/util/FastMap.js
govuk_publishing_components-18.0.0 node_modules/rxjs/util/FastMap.js
govuk_publishing_components-17.21.0 node_modules/rxjs/util/FastMap.js
govuk_publishing_components-17.20.0 node_modules/rxjs/util/FastMap.js
govuk_publishing_components-17.19.1 node_modules/rxjs/util/FastMap.js
govuk_publishing_components-17.19.0 node_modules/rxjs/util/FastMap.js
govuk_publishing_components-17.18.0 node_modules/rxjs/util/FastMap.js
govuk_publishing_components-17.17.0 node_modules/rxjs/util/FastMap.js
govuk_publishing_components-17.16.0 node_modules/rxjs/util/FastMap.js
govuk_publishing_components-17.15.0 node_modules/rxjs/util/FastMap.js
govuk_publishing_components-17.14.0 node_modules/rxjs/util/FastMap.js
govuk_publishing_components-17.13.0 node_modules/rxjs/util/FastMap.js
govuk_publishing_components-17.12.2 node_modules/rxjs/util/FastMap.js
govuk_publishing_components-17.12.1 node_modules/rxjs/util/FastMap.js
govuk_publishing_components-17.12.0 node_modules/rxjs/util/FastMap.js
govuk_publishing_components-17.11.0 node_modules/rxjs/util/FastMap.js
govuk_publishing_components-17.10.0 node_modules/rxjs/util/FastMap.js
govuk_publishing_components-17.9.0 node_modules/rxjs/util/FastMap.js