/*
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 { ValueType, Base, typeCast, markStruct } from "igniteui-angular-core";
/**
 * @hidden
 */
var Worksheet_FontNameHeightPair = /** @class */ /*@__PURE__*/ (function (_super) {
    __extends(Worksheet_FontNameHeightPair, _super);
    function Worksheet_FontNameHeightPair(a) {
        var _rest = [];
        for (var _i = 1; _i < arguments.length; _i++) {
            _rest[_i - 1] = arguments[_i];
        }
        var _this = _super.call(this) || this;
        _this.a = 0;
        _this.b = null;
        a = (a == void 0) ? 0 : a;
        switch (a) {
            case 0: break;
            case 1:
                {
                    var c = _rest[0];
                    var d = _rest[1];
                    _this.b = c;
                    _this.a = d;
                }
                break;
        }
        return _this;
    }
    Worksheet_FontNameHeightPair.prototype.equals = function (a) {
        if ((typeCast(Worksheet_FontNameHeightPair.$, a) !== null) == false) {
            return false;
        }
        var b = a;
        return this.b == b.b && this.a == b.a;
    };
    Worksheet_FontNameHeightPair.prototype.getHashCode = function () {
        return Base.getHashCodeStatic(this.b) ^ (this.a);
    };
    Worksheet_FontNameHeightPair.$t = markStruct(Worksheet_FontNameHeightPair, 'Worksheet_FontNameHeightPair');
    return Worksheet_FontNameHeightPair;
}(ValueType));
export { Worksheet_FontNameHeightPair };
