/*
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 { IComparer$1_$type } from "igniteui-angular-core";
import { IntRange } from "./IntRange";
/**
 * @hidden
 */
var IntRange_StartThenEndComparerImpl = /** @class */ /*@__PURE__*/ (function (_super) {
    __extends(IntRange_StartThenEndComparerImpl, _super);
    function IntRange_StartThenEndComparerImpl() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    IntRange_StartThenEndComparerImpl.prototype.compare = function (a, b) {
        var c = Base.compareSimple(a._i, b._i);
        if (c == 0) {
            c = Base.compareSimple(a._h, b._h);
        }
        return c;
    };
    IntRange_StartThenEndComparerImpl.$t = markType(IntRange_StartThenEndComparerImpl, 'IntRange_StartThenEndComparerImpl', Base.$, [IComparer$1_$type.specialize(IntRange.$)]);
    return IntRange_StartThenEndComparerImpl;
}(Base));
export { IntRange_StartThenEndComparerImpl };
