Class LaneData
java.lang.Object
org.opentrafficsim.road.network.sampling.LaneData
- All Implemented Interfaces:
Identifiable
,LaneDataInterface
public class LaneData extends java.lang.Object implements LaneDataInterface
Lane 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 Details
-
LaneData
- Parameters:
lane
- Lane; wrapped lane
-
-
Method Details
-
getLane
- Returns:
- lane.
-
getLength
- Specified by:
getLength
in interfaceLaneDataInterface
-
getLinkData
- Specified by:
getLinkData
in interfaceLaneDataInterface
-
getId
public final java.lang.String getId()- Specified by:
getId
in interfaceIdentifiable
- Specified by:
getId
in interfaceLaneDataInterface
-
hashCode
public final int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
public final boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-
toString
public final java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-