Class RunwayLengthFilter
java.lang.Object
org.deltava.filter.RunwayLengthFilter
- All Implemented Interfaces:
AirportFilter
An airport filter to filter based on maxmimum runway length.
- Since:
- 5.1
- Version:
- 9.1
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AirportFilter
filterModifier and TypeMethodDescriptiondefault Collection<Airport> filter(Collection<Airport> airports) Filters a Collection of Airports.
-
Constructor Details
-
RunwayLengthFilter
public RunwayLengthFilter(int minLength) Creates the filter.- Parameters:
minLength- the minimum runway length in feet
-
-
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
-