Package org.opentrafficsim.sim0mq.kpi
Class LaneDataSim0
java.lang.Object
org.opentrafficsim.sim0mq.kpi.LaneDataSim0
- All Implemented Interfaces:
org.opentrafficsim.base.Identifiable
,LaneData
Copyright (c) 2013-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
final String
final Length
final LinkData
int
hashCode()
final void
setLinkData
(LinkDataSim0 linkData) toString()
-
Field Details
-
length
the link length.
-
-
Constructor Details
-
LaneDataSim0
- Parameters:
linkData
- LinkData; data about the linklaneName
- String; name of the lanelength
- Length; length of the lane
-
-
Method Details
-
getLength
-
getLinkData
- Specified by:
getLinkData
in interfaceLaneData
-
getLaneName
- Returns:
- laneName
-
getId
- Specified by:
getId
in interfaceorg.opentrafficsim.base.Identifiable
-
setLinkData
- Parameters:
linkData
- LinkData; set linkData
-
hashCode
public int hashCode() -
equals
-
toString
-