public class GeoDistancePredicate extends Object implements Predicate
Constructor and Description |
---|
GeoDistancePredicate(DistanceUnit.GeoDistance geoDistance) |
GeoDistancePredicate(String latitude,
String longitude,
String distance)
Builds a new geodistance predicate that matches records within a given distance of a geopoint..
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDistance() |
DistanceUnit.GeoDistance |
getGeoDistance() |
String |
getLatitude() |
String |
getLongitude() |
int |
hashCode() |
String |
toString() |
public GeoDistancePredicate(String latitude, String longitude, String distance)
latitude
- longitude
- distance
- public GeoDistancePredicate(@NotNull DistanceUnit.GeoDistance geoDistance)
public String getLatitude()
public String getLongitude()
public String getDistance()
public DistanceUnit.GeoDistance getGeoDistance()
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.