- addAirport(Airport) - Method in class AirportManager
-
Adds an airport to the AirportManager
- addFlight(Flight) - Method in class FlightManager
-
Adds flight to the map of flights, provided the key doesn't exist, and returns true;
otherwise, returns false.
- addLeg(Flight) - Method in class Trip
-
Adds a leg to this trip.
- Airport - Class in prob3
-
Represents an Airport.
- Airport(String, double, double, String, String) - Constructor for class Airport
-
Creates an airport.
- Airport(String) - Constructor for class Airport
-
Creates an airport that serves as a key for a search in other classes.
- AirportCityComparator - Class in prob3
-
- AirportCityComparator() - Constructor for class AirportCityComparator
-
- AirportLoader - Class in prob3
-
Contains static method for reading airport file.
- AirportLoader() - Constructor for class AirportLoader
-
- AirportLoaderTest - Class in prob3
-
Contains test method to test the getAirportMap method in the AirportLoader
class & these methods have already been written and provided to you.
- AirportLoaderTest() - Constructor for class AirportLoaderTest
-
- AirportManager - Class in prob3
-
Represents a collection of Airports services to search for airport(s) that meet certain
criteria.
- AirportManager(Map<String, Airport>) - Constructor for class AirportManager
-
Creates the AirportManager with a map of airports.
- airportManager - Variable in class FlightManager
-
Makes the airports available, used by various search methods.
- AirportManagerTest - Class in prob3
-
All tests utilize the helper method, getAirportManager, which reads in airports and
builds an AirportManager.
- AirportManagerTest() - Constructor for class AirportManagerTest
-
- airports - Variable in class AirportManager
-
A map of Airports where the airport code is the key and the value is an Airport.
- airportsAllFile - Static variable in class AirportLoaderTest
-
- airportsAllFile - Static variable in class AirportManagerTest
-
- airportsAllFile - Static variable in class TripTest
-
- airportsAllFileName - Static variable in class AirportLoaderTest
-
- airportsAllFileName - Static variable in class AirportManagerTest
-
- airportsAllFileName - Static variable in class TripTest
-
- airportsMediumFile - Static variable in class AirportLoaderTest
-
- airportsMediumFile - Static variable in class AirportManagerTest
-
- airportsMediumFile - Static variable in class FlightManagerTest
-
- airportsMediumFile - Static variable in class TripTest
-
- airportsMediumFileName - Static variable in class AirportLoaderTest
-
- airportsMediumFileName - Static variable in class AirportManagerTest
-
- airportsMediumFileName - Static variable in class FlightManagerTest
-
- airportsMediumFileName - Static variable in class TripTest
-
- airportsSameCitiesFile - Static variable in class AirportLoaderTest
-
- airportsSameCitiesFile - Static variable in class AirportManagerTest
-
- airportsSameCitiesFile - Static variable in class TripTest
-
- airportsSameCitiesFileName - Static variable in class AirportLoaderTest
-
- airportsSameCitiesFileName - Static variable in class AirportManagerTest
-
- airportsSameCitiesFileName - Static variable in class TripTest
-
- airportsSmallFile - Static variable in class AirportLoaderTest
-
- airportsSmallFile - Static variable in class AirportManagerTest
-
- airportsSmallFile - Static variable in class TripTest
-
- airportsSmallFileName - Static variable in class AirportLoaderTest
-
- airportsSmallFileName - Static variable in class AirportManagerTest
-
- airportsSmallFileName - Static variable in class TripTest
-
- AirportStateComparator - Class in prob3
-
- AirportStateComparator() - Constructor for class AirportStateComparator
-
- AirportTest - Class in prob3
-
- AirportTest() - Constructor for class AirportTest
-