"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class ModelInfoMap {
    constructor() {
        this.elements = new Map();
    }
    add(className, refName) {
        if (!this.elements.has(className)) {
            this.elements.set(className, []);
        }
        this.elements.get(className).push(refName);
    }
    contains(className, refName) {
        const entry = this.elements.get(className);
        if (entry === undefined) {
            return false;
        }
        else {
            return entry.includes(refName);
        }
    }
}
exports.ModelInfoMap = ModelInfoMap;
//# sourceMappingURL=ModelInfoMap.js.map