/*
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 { Base, markType } from "igniteui-angular-core";
import { IVariantValueContainer_$type } from "./IVariantValueContainer";
/**
 * @hidden
 */
export let CT_Vector = /*@__PURE__*/ (() => {
    class CT_Vector extends Base {
        constructor(a, ..._rest) {
            super();
            this.b = 0;
            this.a = null;
            a = (a == void 0) ? 0 : a;
            switch (a) {
                case 0:
                    {
                        let c = _rest[0];
                        let d = _rest[1];
                        this.b = d;
                        this.a = new Array(c);
                    }
                    break;
                case 1:
                    {
                        let c = _rest[0];
                        let d = _rest[1];
                        this.b = d;
                        this.a = c.toArray();
                    }
                    break;
            }
        }
        setValue(a, b) {
            this.a[b] = a;
        }
    }
    CT_Vector.$t = markType(CT_Vector, 'CT_Vector', Base.$, [IVariantValueContainer_$type]);
    return CT_Vector;
})();
