Package org.opentrafficsim.imb.kpi
Class LaneData
java.lang.Object
org.opentrafficsim.imb.kpi.LaneData
- All Implemented Interfaces:
Identifiable,LaneDataInterface
public class LaneData extends Object implements LaneDataInterface
Copyright (c) 2013-2019 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 booleanequals(Object obj)StringgetId()StringgetLaneName()LengthgetLength()LinkDataInterfacegetLinkData()inthashCode()voidsetLinkData(LinkData linkData)StringtoString()
-
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:
getLengthin interfaceLaneDataInterface
-
getLinkData
- Specified by:
getLinkDatain interfaceLaneDataInterface
-
getLaneName
- Returns:
- laneName
-
getId
- Specified by:
getIdin interfaceIdentifiable- Specified by:
getIdin interfaceLaneDataInterface
-
setLinkData
- Parameters:
linkData- LinkData; set linkData
-
hashCode
public int hashCode() -
equals
-
toString
-