all files / dist/utils/ StringHashSet.js

100% Statements 9/9
100% Branches 0/0
100% Functions 4/4
100% Lines 9/9
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17               
"use strict";
var StringHashSet = (function () {
    function StringHashSet() {
        this.obj = {};
    }
    StringHashSet.prototype.add = function (key) {
        this.obj[key] = true;
    };
    StringHashSet.prototype.contains = function (key) {
        return this.obj[key] === true;
    };
    return StringHashSet;
}());
exports.StringHashSet = StringHashSet;
 
//# sourceMappingURL=StringHashSet.js.map