Class DistanceUnit.GeoDistance
- java.lang.Object
-
- org.gbif.api.model.occurrence.geo.DistanceUnit.GeoDistance
-
- Enclosing class:
- DistanceUnit
public static class DistanceUnit.GeoDistance extends Object
-
-
Constructor Summary
Constructors Constructor Description GeoDistance(double latitude, double longitude, DistanceUnit.Distance distance)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
DistanceUnit.Distance
getDistance()
double
getLatitude()
double
getLongitude()
int
hashCode()
static DistanceUnit.GeoDistance
parseGeoDistance(String geoDistance)
static DistanceUnit.GeoDistance
parseGeoDistance(String latitude, String longitude, String distance)
String
toGeoDistanceString()
String
toString()
-
-
-
Constructor Detail
-
GeoDistance
public GeoDistance(double latitude, double longitude, DistanceUnit.Distance distance)
-
-
Method Detail
-
getLatitude
public double getLatitude()
-
getLongitude
public double getLongitude()
-
getDistance
public DistanceUnit.Distance getDistance()
-
parseGeoDistance
public static DistanceUnit.GeoDistance parseGeoDistance(String geoDistance)
-
toGeoDistanceString
public String toGeoDistanceString()
-
parseGeoDistance
public static DistanceUnit.GeoDistance parseGeoDistance(String latitude, String longitude, String distance)
-
-