"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const RouteTypeEnums_1 = require("../../../../../../../../helpers/RouteTypeEnums");
const BusDelayAtStop_1 = require("./BusDelayAtStop");
class FactoryDelayAtStop {
    static getInstance() {
        if (!this._instance) {
            this._instance = new FactoryDelayAtStop();
        }
        return this._instance;
    }
    constructor() {
        this.dictionary = new Map();
        this.dictionary.set(RouteTypeEnums_1.GTFSRouteTypeEnum.BUS, new BusDelayAtStop_1.BusDelayAtStop());
    }
    getStrategy(gtfsRouteType) {
        if (this.dictionary.has(gtfsRouteType)) {
            return this.dictionary.get(gtfsRouteType);
        }
        return null;
    }
}
exports.default = FactoryDelayAtStop;
//# sourceMappingURL=FactoryDelayAtStop.js.map