Package org.opentrafficsim.sim0mq.kpi
Class LinkData
- java.lang.Object
-
- org.opentrafficsim.sim0mq.kpi.LinkData
-
- All Implemented Interfaces:
Identifiable
,LinkDataInterface
public class LinkData extends Object implements LinkDataInterface
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLaneData(LaneData laneData)
Add the lane to the list of lanes for this link.boolean
equals(Object obj)
NodeData
getEndNode()
String
getId()
List<LaneDataInterface>
getLaneDatas()
Length
getLength()
String
getLinkName()
NodeData
getStartNode()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
addLaneData
public void addLaneData(LaneData laneData)
Add the lane to the list of lanes for this link.- Parameters:
laneData
- LaneData; the lane to add
-
getLaneDatas
public final List<LaneDataInterface> getLaneDatas()
- Specified by:
getLaneDatas
in interfaceLinkDataInterface
-
getLength
public final Length getLength()
- Specified by:
getLength
in interfaceLinkDataInterface
-
getStartNode
public final NodeData getStartNode()
- Returns:
- startNode
-
getEndNode
public final NodeData getEndNode()
- Returns:
- endNode
-
getLinkName
public final String getLinkName()
- Returns:
- linkName
-
getId
public String getId()
- Specified by:
getId
in interfaceIdentifiable
- Specified by:
getId
in interfaceLinkDataInterface
-
-