InternationalAirport¶
-
public class
InternationalAirport
extends Airport¶ This class stores information about an international (non-UK) airport.
Author: Milan Lovric
Constructors¶
InternationalAirport¶
-
public
InternationalAirport
(String iataCode, String caaName, String ourAirportsName, double longitude, double latitude, String countryCode, String continentCode, long terminalCapacity, long runwayCapacity)¶ Constructor for the airport.
Parameters: - iataCode – Airport IATA code.
- caaName – Airport name in CCA datasets.
- ourAirportsName – Airport name in ourAirports dataset.
- longitude – Longitude coordinate.
- latitude – Latitude coordinate.
- countryCode – Code of the country in which the airport is located.
- countryCode – Code of the continent in which the airport is located.
- terminalCapacity – Airport terminal capacity (max number of passengers that can be processed).
- runwayCapacity – Airport runway capacity (max number of flights that can be processed).
InternationalAirport¶
-
public
InternationalAirport
(InternationalAirport airport)¶ Constructor for an airport using an existing airport.
Parameters: - airport – Airport which data is going to be copied.