public class MetaDataDestination extends MetaDataType<NodeDataInterface>
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.
Constructor and Description |
---|
MetaDataDestination() |
Modifier and Type | Method and Description |
---|---|
String |
formatValue(String format,
NodeDataInterface value)
Formats the value into a string.
|
NodeDataInterface |
getValue(GtuDataInterface gtu)
Retrieves the value of the meta data of this type from a GTU.
|
String |
toString() |
accept, getId
public final NodeDataInterface getValue(GtuDataInterface gtu)
getValue
in class MetaDataType<NodeDataInterface>
gtu
- GtuDataInterface; gtu to retrieve the value fromnull
if not applicable.public String formatValue(String format, NodeDataInterface value)
String.format(format, value.si);
formatValue
in class MetaDataType<NodeDataInterface>
format
- String; formatvalue
- T; valuepublic String toString()
toString
in class MetaDataType<NodeDataInterface>
Copyright © 2014–2019 Delft University of Technology. All rights reserved.