igniteui-react-core
Version:
Ignite UI React Core.
39 lines (38 loc) • 1.73 kB
JavaScript
/*
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, IEqualityComparer$1_$type, markType } from "./type";
import { HighlightingInfo } from "./HighlightingInfo";
/**
* @hidden
*/
var HighlightingInfoComparer = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(HighlightingInfoComparer, _super);
function HighlightingInfoComparer() {
return _super !== null && _super.apply(this, arguments) || this;
}
HighlightingInfoComparer.prototype.equalsC = function (a, b) {
if (a == null && b != null) {
return false;
}
if (a != null && b == null) {
return false;
}
return a.d == b.d && a.g == b.g && a.f == b.f && a.i == b.i;
};
HighlightingInfoComparer.prototype.getHashCodeC = function (a) {
var b = 23;
b = b * 31 + (a.d ? 1 : 0);
b = b * 31 + a.g;
b = b * 31 + a.f;
b = b * 31 + (a.i != null ? Base.getHashCodeStatic(a.i) : 0);
return b;
};
HighlightingInfoComparer.$t = markType(HighlightingInfoComparer, 'HighlightingInfoComparer', Base.$, [IEqualityComparer$1_$type.specialize(HighlightingInfo.$)]);
return HighlightingInfoComparer;
}(Base));
export { HighlightingInfoComparer };