Class RouteData

java.lang.Object
org.opentrafficsim.road.network.sampling.RouteData
All Implemented Interfaces:
Identifiable, RouteDataInterface

public class RouteData
extends java.lang.Object
implements RouteDataInterface
Route representation in road sampler.

Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Version:
$Revision$, $LastChangedDate$, by $Author$, initial version 13 okt. 2016
Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Constructor Summary

    Constructors 
    Constructor Description
    RouteData​(Route route)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object obj)
    java.lang.String getId()
    Route getRoute()  
    int hashCode()
    java.lang.String toString()

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • RouteData

      public RouteData​(Route route)
      Parameters:
      route - Route; route
  • Method Details

    • getRoute

      public final Route getRoute()
      Returns:
      route.
    • getId

      public final java.lang.String getId()
      Specified by:
      getId in interface Identifiable
      Specified by:
      getId in interface RouteDataInterface
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public final boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object
    • toString

      public final java.lang.String toString()
      Overrides:
      toString in class java.lang.Object