Class IATAFilter
java.lang.Object
org.deltava.filter.IATAFilter
- All Implemented Interfaces:
AirportFilter
An Airport Filter to filter on selected IATA Airport codes.
- Since:
- 5.0
- Version:
- 9.1
- Author:
- Luke
-
Constructor Summary
ConstructorsConstructorDescriptionIATAFilter
(Collection<Airport> airports) Creates the filter.Creates the filter. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.deltava.filter.AirportFilter
filter
-
Constructor Details
-
IATAFilter
Creates the filter.- Parameters:
airports
- a Collection of Airports
-
IATAFilter
-
-
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
-