/** * @packageDocumentation * @module std */ import { IPair } from "./IPair"; import { IComparable } from "../functional/IComparable"; /** * Pair of two elements. * * @author Jeongho Nam - https://github.com/samchon */ export declare class Pair implements IPair, IComparable> { /** * @inheritDoc */ first: First; /** * @inheritDoc */ second: Second; /** * Initializer Constructor. * * @param first The first element. * @param second The second element. */ constructor(first: First, second: Second); /** * @inheritDoc */ equals(pair: Pair): boolean; /** * @inheritDoc */ less(pair: Pair): boolean; /** * @inheritDoc */ hashCode(): number; } /** * Create a {@link Pair}. * * @param first The 1st element. * @param second The 2nd element. * * @return A {@link Pair} object. */ export declare function make_pair(first: First, second: Second): Pair; //# sourceMappingURL=Pair.d.ts.map