/** * Implementation of the net.sf.geographiclib.Pair class * * Copyright (c) Charles Karney (2013) <charles@karney.com> and licensed * under the MIT/X11 License. For more information, see * https://geographiclib.sourceforge.io/ **********************************************************************/packagenet.sf.geographiclib;/** * A pair of double precision numbers. * <p> * This duplicates the C++ class {@code std::pair<double, double>}. **********************************************************************/publicclassPair{/** * The first member of the pair. **********************************************************************/publicdoublefirst;/** * The second member of the pair. **********************************************************************/publicdoublesecond;/** * Constructor * <p> * @param first the first member of the pair. * @param second the second member of the pair. **********************************************************************/publicPair(doublefirst,doublesecond){this.first=first;this.second=second;}}