/*
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 "./type";
export class SortDescription extends Base {
    constructor(a, ..._rest) {
        super();
        this.a = false;
        this.f = null;
        this.c = 0;
        a = (a == void 0) ? 0 : a;
        switch (a) {
            case 0:
                {
                    let c = _rest[0];
                    this.g = c;
                }
                break;
            case 1:
                {
                    let c = _rest[0];
                    let d = _rest[1];
                    this.g = c;
                    this.d = d;
                }
                break;
        }
    }
    get g() {
        return this.f;
    }
    set g(a) {
        this.f = a;
    }
    get d() {
        return this.c;
    }
    set d(a) {
        this.c = a;
    }
    equals(a) {
        let b = a;
        if (b == null) {
            return super.equals(a);
        }
        return b.g == this.g && b.d == this.d;
    }
    getHashCode() {
        return Base.getHashCodeStatic(this.g) * 17 + this.d;
    }
    h() {
        this.a = true;
    }
}
SortDescription.$t = markType(SortDescription, 'SortDescription');
//# sourceMappingURL=SortDescription.js.map