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 booleanequals(java.lang.Object obj)java.lang.StringgetId()java.lang.StringgetLaneName()LengthgetLength()LinkDataInterfacegetLinkData()inthashCode()voidsetLinkData(LinkData linkData)java.lang.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
public final java.lang.String getLaneName()- Returns:
 - laneName
 
 - 
getId
public java.lang.String getId()- Specified by:
 getIdin interfaceIdentifiable- Specified by:
 getIdin interfaceLaneDataInterface
 - 
setLinkData
- Parameters:
 linkData- LinkData; set linkData
 - 
hashCode
public int hashCode()- Overrides:
 hashCodein classjava.lang.Object
 - 
equals
public boolean equals(java.lang.Object obj)- Overrides:
 equalsin classjava.lang.Object
 - 
toString
public java.lang.String toString()- Overrides:
 toStringin classjava.lang.Object
 
 -