/*
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 { SyncableObservableCollection$1 } from "./SyncableObservableCollection$1";
import { SortDescription } from "./SortDescription";
import { Base, markType } from "./type";
export class SortDescriptionCollection extends Base {
    constructor() {
        super();
        this.d = null;
        this.f = null;
        this.f = new SyncableObservableCollection$1(SortDescription.$);
    }
    g() {
        return this.f;
    }
    get e() {
        return this.d;
    }
    set e(a) {
        if (a == null) {
            this.f.syncTarget = null;
            this.d = null;
            return;
        }
        this.d = a;
        this.f.syncTarget = this.d.f;
    }
    h(a) {
        return this.f.add(a);
    }
    o(a, b) {
        this.f.add1(a, b);
    }
    n() {
        this.f.clear();
    }
    a(a) {
        return this.f.get(a);
    }
    k(a) {
        return this.f.indexOf(a);
    }
    i(a) {
        return this.f.remove1(a);
    }
    b(a) {
        return this.f.remove(a);
    }
    c(a, b) {
        return this.f.set(a, b);
    }
    l() {
        return this.f.size();
    }
    m(a) {
        this.f.addListener(a);
    }
    p(a) {
        this.f.removeListener(a);
    }
    get j() {
        return this.f.all;
    }
}
SortDescriptionCollection.$t = markType(SortDescriptionCollection, 'SortDescriptionCollection');
//# sourceMappingURL=SortDescriptionCollection.js.map