G
- gtu data typepublic abstract class ExtendedDataTypeString<G extends GtuDataInterface> extends ExtendedDataTypeList<String,G>
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 |
---|
ExtendedDataTypeString(String id) |
Modifier and Type | Method and Description |
---|---|
String |
formatValue(String format,
String value)
Formats the value into a string.
|
convert, getOutputValue, getStorageValue, initializeStorage, setValue
equals, getId, getValue, hashCode, interpolate
public ExtendedDataTypeString(String id)
id
- String; idpublic String formatValue(String format, String value)
String.format(format, value.si);
formatValue
in class ExtendedDataType<String,List<String>,List<String>,G extends GtuDataInterface>
format
- String; formatvalue
- T; valueCopyright © 2014–2019 Delft University of Technology. All rights reserved.