Class ExtendedDataString<G extends GtuData>
java.lang.Object
org.opentrafficsim.kpi.sampling.DataType<T,G>
org.opentrafficsim.kpi.sampling.data.ExtendedDataType<T,List<T>,List<T>,G>
org.opentrafficsim.kpi.sampling.data.ExtendedDataList<String,G>
org.opentrafficsim.kpi.sampling.data.ExtendedDataString<G>
- Type Parameters:
G
- gtu data type
- All Implemented Interfaces:
org.djutils.base.Identifiable
Extended data type for string values.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparseValue
(String string) Parses a stored string representation to original type.Methods inherited from class org.opentrafficsim.kpi.sampling.data.ExtendedDataList
convert, getOutputValue, getStorageValue, initializeStorage, setValue
Methods inherited from class org.opentrafficsim.kpi.sampling.data.ExtendedDataType
getValue, interpolate, toString
-
Constructor Details
-
ExtendedDataString
Constructor.- Parameters:
id
- String; iddescription
- String; description
-
-
Method Details
-
parseValue
Parses a stored string representation to original type.- Specified by:
parseValue
in classExtendedDataType<String,
List<String>, List<String>, G extends GtuData> - Parameters:
string
- String; stored string representation- Returns:
- T; value in original type
-