Package org.opentrafficsim.sim0mq.kpi
Class LaneData
java.lang.Object
org.opentrafficsim.sim0mq.kpi.LaneData
- All Implemented Interfaces:
Identifiable
,LaneDataInterface
public class LaneData extends java.lang.Object implements LaneDataInterface
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
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getId()
java.lang.String
getLaneName()
Length
getLength()
LinkDataInterface
getLinkData()
int
hashCode()
void
setLinkData(LinkData linkData)
java.lang.String
toString()
-
Constructor Details
-
LaneData
- Parameters:
linkData
- LinkData; data about the linklaneName
- String; name of the lanelength
- Length; length of the lane
-
-
Method Details
-
getLength
- Specified by:
getLength
in interfaceLaneDataInterface
-
getLinkData
- Specified by:
getLinkData
in interfaceLaneDataInterface
-
getLaneName
public final java.lang.String getLaneName()- Returns:
- laneName
-
getId
public java.lang.String getId()- Specified by:
getId
in interfaceIdentifiable
- Specified by:
getId
in interfaceLaneDataInterface
-
setLinkData
- Parameters:
linkData
- LinkData; set linkData
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-