public class LocationCoordinates
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
double |
getLatitude()
Getting the current latitude for the location coordinate.
|
double |
getLongitude()
Getting the longitude for the location coordinate.
|
void |
setLatitude(double latitude)
Setting the latitude for this location coordinate
|
void |
setLongitude(double longitude)
Set the longitude for this location coordinate
|
java.lang.String |
toString() |
public void setLatitude(double latitude)
latitude - the latitudepublic double getLatitude()
public void setLongitude(double longitude)
longitude - the longitudepublic double getLongitude()
public java.lang.String toString()
toString in class java.lang.Object