/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { __extends } from "tslib";
import { Base, markType } from "igniteui-angular-core";
import { IVariantValueContainer_$type } from "./IVariantValueContainer";
/**
 * @hidden
 */
var CT_Vector = /** @class */ /*@__PURE__*/ (function (_super) {
    __extends(CT_Vector, _super);
    function CT_Vector(a) {
        var _rest = [];
        for (var _i = 1; _i < arguments.length; _i++) {
            _rest[_i - 1] = arguments[_i];
        }
        var _this = _super.call(this) || this;
        _this.b = 0;
        _this.a = null;
        a = (a == void 0) ? 0 : a;
        switch (a) {
            case 0:
                {
                    var c = _rest[0];
                    var d = _rest[1];
                    _this.b = d;
                    _this.a = new Array(c);
                }
                break;
            case 1:
                {
                    var c = _rest[0];
                    var d = _rest[1];
                    _this.b = d;
                    _this.a = c.toArray();
                }
                break;
        }
        return _this;
    }
    CT_Vector.prototype.setValue = function (a, b) {
        this.a[b] = a;
    };
    CT_Vector.$t = markType(CT_Vector, 'CT_Vector', Base.$, [IVariantValueContainer_$type]);
    return CT_Vector;
}(Base));
export { CT_Vector };
