Interface Route

All Superinterfaces:
Cacheable, Serializable
All Known Implementing Classes:
Airway, ArchivedRoute, CacheableRoute, DispatchRoute, ExternalDispatchRoute, OceanicTrack, PopulatedRoute, TerminalRoute

public interface Route extends Cacheable
An interface to define the waypoints in a Route.
Since:
1.0
Version:
2.1
Author:
Luke
  • Method Details

    • addWaypoint

      void addWaypoint(NavigationDataBean nd)
      Adds a waypoint to this route.
      Parameters:
      nd - the waypoint
    • getWaypoints

      Returns the waypoints for this Route.
      Returns:
      a LinkedList of Intersections
    • getSize

      int getSize()
      Returns the number of Waypoints on this Route.
      Returns:
      the number of Waypoints
    • getRoute

      String getRoute()
      Returns the Airway route.
      Returns:
      a space-delimited list of waypoint codes