Package org.opentrafficsim.sim0mq.kpi
Class NodeData
- java.lang.Object
 - 
- org.opentrafficsim.sim0mq.kpi.NodeData
 
 
- 
- All Implemented Interfaces:
 org.opentrafficsim.base.Identifiable,NodeDataInterface
public class NodeData extends Object implements NodeDataInterface
Copyright (c) 2013-2022 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
Constructors Constructor Description NodeData(String nodeName, CartesianPoint position) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetId()StringgetNodeName()CartesianPointgetPosition()inthashCode()StringtoString() 
 - 
 
- 
- 
Constructor Detail
- 
NodeData
public NodeData(String nodeName, CartesianPoint position)
- Parameters:
 nodeName- String; name of the nodeposition- CartesianPoint; position of the node
 
 - 
 
- 
Method Detail
- 
getNodeName
public final String getNodeName()
- Returns:
 - nodeName
 
 
- 
getPosition
public final CartesianPoint getPosition()
- Returns:
 - position
 
 
- 
getId
public String getId()
- Specified by:
 getIdin interfaceorg.opentrafficsim.base.Identifiable- Specified by:
 getIdin interfaceNodeDataInterface
 
 - 
 
 -