UNPKG

@abaplint/runtime

Version:
15 lines 501 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IntegerFactory = void 0; const types_1 = require("./types"); class IntegerFactory { static map = {}; static get(value) { if (IntegerFactory.map[value] === undefined) { IntegerFactory.map[value] = new types_1.Integer().set(value).setConstant(); } return IntegerFactory.map[value]; } } exports.IntegerFactory = IntegerFactory; //# sourceMappingURL=integer_factory.js.map