Class Pair


  • public class Pair
    extends Object
    A pair of double precision numbers.

    This duplicates the C++ class std::pair<double, double>.

    • Field Detail

      • first

        public double first
        The first member of the pair.
      • second

        public double second
        The second member of the pair.
    • Constructor Detail

      • Pair

        public Pair​(double first,
                    double second)
        Constructor

        Parameters:
        first - the first member of the pair.
        second - the second member of the pair.
      • Pair

        public Pair()
        No-argument Constructor