Class GateUsage
java.lang.Object
org.deltava.beans.stats.RunwayGateUsage
org.deltava.beans.stats.GateUsage
- All Implemented Interfaces:
Serializable, RoutePair, Cacheable
A bean to store Runway/Gate usage statistics.
- Since:
- 10.0
- Version:
- 11.1
- Author:
- Luke
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface RoutePair
RoutePair.RoutePairImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intNumber of years back to aggregate gate/airline usage.Fields inherited from class RunwayGateUsage
_usage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Deep clones the object.Creates a RunwayGateUsage object for a single Airline.Returns airlines with usage.booleanhasAriline(String airlineCode) Returns whether there is any Runway/Gate date for a particular Airline.toString()Methods inherited from class RunwayGateUsage
add, cacheKey, clear, getAirportA, getAirportD, getIsDeparture, getTotal, getTotalUsage, hashCode, sizeMethods inherited from interface RoutePair
createKey, getAirports, getDistance, getFlightType, includes, isPopulated, matches, midPoint
-
Field Details
-
GATE_USAGE_YEARS
public static final int GATE_USAGE_YEARSNumber of years back to aggregate gate/airline usage.- See Also:
-
-
Constructor Details
-
GateUsage
Creates the bean.- Parameters:
rp- the RoutePairisDeparture- TRUE if departure gates/runways, otherwise FALSE
-
-
Method Details
-
getAirlines
Returns airlines with usage.- Returns:
- a Collection of Airline codes
-
hasAriline
Returns whether there is any Runway/Gate date for a particular Airline.- Parameters:
airlineCode- the Airline code- Returns:
- TRUE if at least one Runway/Gate has been used with this Airline, otherwise FALSE
-
clone
-
filter
-
toString
-