Class IATAFilter

java.lang.Object
org.deltava.filter.IATAFilter
All Implemented Interfaces:
AirportFilter

public class IATAFilter extends Object implements AirportFilter
An Airport Filter to filter on selected IATA Airport codes.
Since:
5.0
Version:
9.1
Author:
Luke
  • Constructor Details

    • IATAFilter

      public IATAFilter(Collection<Airport> airports)
      Creates the filter.
      Parameters:
      airports - a Collection of Airports
    • IATAFilter

      public IATAFilter(Airport a)
      Creates the filter.
      Parameters:
      a - an Airport to include
  • Method Details

    • accept

      public boolean accept(Airport a)
      Description copied from interface: AirportFilter
      Determines whether the Airport matches the criteria set by this Filter.
      Specified by:
      accept in interface AirportFilter
      Parameters:
      a - the Airport bean to examine
      Returns:
      TRUE if the airport matches the criteria, otherwise FALSE