public class Location
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private double |
altitude |
private double |
latitude |
private double |
longitude |
Constructor and Description |
---|
Location(double latitude,
double longitude,
double altitude) |
Modifier and Type | Method and Description |
---|---|
double |
getAltitude() |
double |
getLatitude() |
double |
getLongitude() |
java.lang.String |
toString() |