public class GeoPoint
extends java.lang.Object
Constructor and Description |
---|
GeoPoint(double latitude,
double longitude)
Building an instance object
|
Modifier and Type | Method and Description |
---|---|
double |
getLatitude()
Get the latitude of the location in degrees
|
double |
getLongitude()
Get the longitude of the location in degrees
|
java.lang.String |
toString() |
public GeoPoint(double latitude, double longitude)
latitude
- The latitude of the location in degreeslongitude
- The longitude of the location in degreespublic double getLatitude()
public double getLongitude()
public java.lang.String toString()
toString
in class java.lang.Object