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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AirportFilter
filter
-
Constructor Details
-
IATAFilter
Creates the filter.- Parameters:
airports- a Collection of Airports
-
IATAFilter
-
-
Method Details
-
accept
Description copied from interface:AirportFilterDetermines whether the Airport matches the criteria set by this Filter.- Specified by:
acceptin interfaceAirportFilter- Parameters:
a- the Airport bean to examine- Returns:
- TRUE if the airport matches the criteria, otherwise FALSE
-