UNPKG

igniteui-react-core

Version:
27 lines (26 loc) 1.23 kB
/* 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, Point_$type, markType } from "./type"; /** * @hidden */ var PointComparer = /** @class */ /*@__PURE__*/ (function (_super) { __extends(PointComparer, _super); function PointComparer() { return _super !== null && _super.apply(this, arguments) || this; } PointComparer.prototype.equalsC = function (a, b) { return a.x == b.x && a.y == b.y; }; PointComparer.prototype.getHashCodeC = function (a) { return (a.x) ^ (a.y); }; PointComparer.$t = markType(PointComparer, 'PointComparer', Base.$, [IEqualityComparer$1_$type.specialize(Point_$type)]); return PointComparer; }(Base)); export { PointComparer };