Class RunwayDistance
java.lang.Object
org.deltava.beans.navdata.NavigationDataBean
org.deltava.beans.navdata.NavigationFrequencyBean
org.deltava.beans.navdata.Runway
org.deltava.beans.acars.RunwayDistance
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<NavigationDataBean>
,ComboAlias
,RunwayLengthUsage
,GeoLocation
,IconMapEntry
,MapEntry
,MarkerMapEntry
,Cacheable
A bean to store ACARS takeoff/landing runway data.
- Since:
- 2.6
- Version:
- 11.1
- Author:
- Luke
- See Also:
-
Field Summary
Fields inherited from interface org.deltava.beans.GeoLocation
ALL, DEGREE_FEET, DEGREE_MILES, FEET_MILES, LAT_DIRECTIONS, LATITUDE, LON_DIRECTIONS, LONGITUDE, RADIAN_MILES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
equals
(RunwayDistance rd2) Compares two RunwayDistance beans by comparing Runway ID and distance.int
Returns the runway usage from the threshold.Methods inherited from class org.deltava.beans.navdata.Runway
contains, equals, equals, getAlternateCode, getComboAlias, getComboName, getHeading, getIconCode, getIconColor, getInfoBox, getLength, getMagVar, getPaletteCode, getSimulator, getSurface, getThreshold, getThresholdLength, getWidth, hashCode, isAltNew, matches, setAlternateCode, setHeading, setLength, setMagVar, setSimulator, setSurface, setThresholdLength, setWidth
Methods inherited from class org.deltava.beans.navdata.NavigationFrequencyBean
getFrequency, setFrequency
Methods inherited from class org.deltava.beans.navdata.NavigationDataBean
cacheKey, clone, compareTo, create, create, getAirway, getCode, getHTMLPosition, getHTMLTitle, getLatitude, getLongitude, getName, getPosition, getRegion, getType, isCoordinates, isInTerminalRoute, setAirway, setCode, setName, setRegion, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.deltava.beans.GeoLocation
distanceFeet, distanceTo
Methods inherited from interface org.deltava.beans.flight.RunwayLengthUsage
getLength, getPercentage
-
Constructor Details
-
Method Details
-
getDistance
public int getDistance()Description copied from interface:RunwayLengthUsage
Returns the runway usage from the threshold.- Specified by:
getDistance
in interfaceRunwayLengthUsage
- Returns:
- the distance in feet.
-
equals
Compares two RunwayDistance beans by comparing Runway ID and distance.- Parameters:
rd2
- the RunwayDistance bean- Returns:
- TRUE if the runway and distance match, otherwise FALSE
-