public class GpsCoordinates extends Object
Modifier and Type | Field and Description |
---|---|
protected double |
latitude |
protected double |
longitude |
Constructor and Description |
---|
GpsCoordinates(double latitude,
double longitude)
GPS coordinates for a photo or video.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
double |
getLatitude()
Latitude of the GPS coordinates.
|
double |
getLongitude()
Longitude of the GPS coordinates.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
public GpsCoordinates(double latitude, double longitude)
latitude
- Latitude of the GPS coordinates.longitude
- Longitude of the GPS coordinates.public double getLatitude()
public double getLongitude()
public String toStringMultiline()
The returned String may contain newlines.