Class GeoLocationFilter
java.lang.Object
org.deltava.filter.GeoLocationFilter
- All Implemented Interfaces:
AirportFilter
An Airport Filter to filter by distance from an arbitrary point.
- Since:
- 5.0
- Version:
- 9.1
- Author:
- Luke
-
Constructor Details
-
GeoLocationFilter
Creates the Filter.- Parameters:
loc
- the pointdistance
- the distance from the point in miles
-
-
Method Details
-
accept
Description copied from interface:AirportFilter
Determines whether the Airport matches the criteria set by this Filter.- Specified by:
accept
in interfaceAirportFilter
- Parameters:
a
- the Airport bean to examine- Returns:
- TRUE if the airport matches the criteria, otherwise FALSE
-