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 Type
    Method
    Description
    boolean
    Determines whether the Airport matches the criteria set by this Filter.
    Filters a Collection of Airports.
  • Method Details

    • accept

      boolean accept(Airport a)
      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

      default Collection<Airport> filter(Collection<Airport> airports)
      Filters a Collection of Airports.
      Parameters:
      airports - the Airports
      Returns:
      the filtered Collection