Class RunwayLengthFilter

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

public class RunwayLengthFilter extends Object implements AirportFilter
An airport filter to filter based on maxmimum runway length.
Since:
5.1
Version:
9.1
Author:
Luke
  • Constructor Details

    • RunwayLengthFilter

      public RunwayLengthFilter(int minLength)
      Creates the filter.
      Parameters:
      minLength - the minimum runway length in feet
  • 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