/*
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 * as tslib_1 from "tslib";
import { LoadOnDemandTree_ChangeHistoryItem$1 } from "./LoadOnDemandTree_ChangeHistoryItem$1";
import { markType } from "igniteui-angular-core";
import { arrayCopy1 } from "igniteui-angular-core";
/**
 * @hidden
 */
var LoadOnDemandTree_ChangeHistoryItemAdd$1 = /** @class */ (function (_super) {
    tslib_1.__extends(LoadOnDemandTree_ChangeHistoryItemAdd$1, _super);
    function LoadOnDemandTree_ChangeHistoryItemAdd$1($t, a, b) {
        var _this = _super.call(this, $t, a, b) || this;
        _this.$t = null;
        _this.h = null;
        _this.$t = $t;
        _this.$type = _this.$type.specialize(_this.$t);
        return _this;
    }
    Object.defineProperty(LoadOnDemandTree_ChangeHistoryItemAdd$1.prototype, "j", {
        get: function () {
            return this.h != null;
        },
        enumerable: true,
        configurable: true
    });
    LoadOnDemandTree_ChangeHistoryItemAdd$1.prototype.get_a = function () {
        return true;
    };
    Object.defineProperty(LoadOnDemandTree_ChangeHistoryItemAdd$1.prototype, "a", {
        get: function () {
            return this.get_a();
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(LoadOnDemandTree_ChangeHistoryItemAdd$1.prototype, "i", {
        get: function () {
            if (this.h == null) {
                this.h = new Array(this.c);
            }
            return this.h;
        },
        enumerable: true,
        configurable: true
    });
    LoadOnDemandTree_ChangeHistoryItemAdd$1.prototype.g = function (a) {
        this.b = a;
        if (this.h != null) {
            var b = this.h;
            this.h = new Array(this.b);
            arrayCopy1(b, 0, this.h, 0, this.b);
        }
    };
    LoadOnDemandTree_ChangeHistoryItemAdd$1.$t = markType(LoadOnDemandTree_ChangeHistoryItemAdd$1, 'LoadOnDemandTree_ChangeHistoryItemAdd$1', LoadOnDemandTree_ChangeHistoryItem$1.$.specialize(0));
    return LoadOnDemandTree_ChangeHistoryItemAdd$1;
}(LoadOnDemandTree_ChangeHistoryItem$1));
export { LoadOnDemandTree_ChangeHistoryItemAdd$1 };
//# sourceMappingURL=LoadOnDemandTree_ChangeHistoryItemAdd$1.js.map