public class GpsCoordinates
extends java.lang.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(java.lang.Object obj) |
double |
getLatitude()
Latitude of the GPS coordinates.
|
double |
getLongitude()
Longitude of the GPS coordinates.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.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 int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toStringMultiline()
The returned String may contain newlines.