Interface AirportFilter
- All Known Implementing Classes:
AirlineFilter, ANDFilter, CountryFilter, GeoLocationFilter, IATAFilter, MultiFilter, NonFilter, NOTFilter, ORFilter, RunwayLengthFilter
public interface AirportFilter
An interface for Airport bean filters.
- Since:
- 1.0
- Version:
- 9.1
- Author:
- Luke
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines whether the Airport matches the criteria set by this Filter.default Collection<Airport> filter(Collection<Airport> airports) Filters a Collection of Airports.
-
Method Details
-
accept
Determines whether the Airport matches the criteria set by this Filter.- Parameters:
a- the Airport bean to examine- Returns:
- TRUE if the airport matches the criteria, otherwise FALSE
-
filter
Filters a Collection of Airports.- Parameters:
airports- the Airports- Returns:
- the filtered Collection
-