Class NodeData
- java.lang.Object
-
- org.opentrafficsim.road.network.sampling.NodeData
-
- All Implemented Interfaces:
Identifiable
,NodeDataInterface
public class NodeData extends java.lang.Object implements NodeDataInterface
Node representation in road sampler.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 boolean
equals(java.lang.Object obj)
java.lang.String
getId()
Node
getNode()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
NodeData
public NodeData(Node node)
- Parameters:
node
- Node; node
-
-
Method Detail
-
getNode
public final Node getNode()
- Returns:
- node.
-
getId
public final java.lang.String getId()
- Specified by:
getId
in interfaceIdentifiable
- Specified by:
getId
in interfaceNodeDataInterface
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public final boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-