public class GeoLocation extends Object implements Serializable
Constructor and Description |
---|
GeoLocation(double latitude,
double longitude)
Creates a GeoLocation instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
double |
getLatitude()
returns the latitude of the geo location
|
double |
getLongitude()
returns the longitude of the geo location
|
int |
hashCode() |
String |
toString() |
public GeoLocation(double latitude, double longitude)
latitude
- the latitudelongitude
- the longitudeCopyright © 2018. All rights reserved.