Class RunwayDistance

All Implemented Interfaces:
Serializable, Cloneable, Comparable<NavigationDataBean>, ComboAlias, RunwayLengthUsage, GeoLocation, IconMapEntry, MapEntry, MarkerMapEntry, Cacheable

public class RunwayDistance extends Runway implements RunwayLengthUsage
A bean to store ACARS takeoff/landing runway data.
Since:
2.6
Version:
11.1
Author:
Luke
See Also:
  • Constructor Details

    • RunwayDistance

      public RunwayDistance(Runway r, int distance)
      Initializes the bean.
      Parameters:
      r - the Runway
      distance - the distance from the threshold in feet
  • Method Details

    • getDistance

      public int getDistance()
      Description copied from interface: RunwayLengthUsage
      Returns the runway usage from the threshold.
      Specified by:
      getDistance in interface RunwayLengthUsage
      Returns:
      the distance in feet.
    • equals

      public boolean equals(RunwayDistance rd2)
      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