Uses of Class
org.gbif.api.model.occurrence.geo.DistanceUnit
-
Packages that use DistanceUnit Package Description org.gbif.api.model.occurrence.geo -
-
Uses of DistanceUnit in org.gbif.api.model.occurrence.geo
Fields in org.gbif.api.model.occurrence.geo declared as DistanceUnit Modifier and Type Field Description static DistanceUnit
DistanceUnit. DEFAULT
DistanceUnit
DistanceUnit.Distance. unit
Methods in org.gbif.api.model.occurrence.geo that return DistanceUnit Modifier and Type Method Description DistanceUnit
DistanceUnit.Distance. getUnit()
static DistanceUnit
DistanceUnit. valueOf(String name)
Returns the enum constant of this type with the specified name.static DistanceUnit[]
DistanceUnit. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.gbif.api.model.occurrence.geo with parameters of type DistanceUnit Modifier and Type Method Description static double
DistanceUnit. convert(double distance, DistanceUnit from, DistanceUnit to)
Converts the given distance from the given DistanceUnit, to the given DistanceUnitConstructors in org.gbif.api.model.occurrence.geo with parameters of type DistanceUnit Constructor Description Distance(double value, DistanceUnit unit)
-