Package net.sf.geographiclib
Class Pair
java.lang.Object
net.sf.geographiclib.Pair
A pair of double precision numbers.
This duplicates the C++ class std::pair<double, double>
.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
first
public double firstThe first member of the pair. -
second
public double secondThe second member of the pair.
-
-
Constructor Details
-
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
-