Class HistoricalParameters.ParameterValueSet
java.lang.Object
org.opentrafficsim.core.perception.HistoricalParameters.ParameterValueSet
- Enclosing class:
- HistoricalParameters
public static class HistoricalParameters.ParameterValueSet extends Object
Value for a parameter event, which contains a parameter type and (the previous) value.
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 19 jan. 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Summary
Constructors Constructor Description ParameterValueSet(ParameterType<T> parameter, T value) -
Method Summary
Modifier and Type Method Description ParameterType<?>getParameter()ObjectgetValue()StringtoString()
-
Constructor Details
-
ParameterValueSet
- Type Parameters:
T- parameter value type- Parameters:
parameter- ParameterType<T>; parametervalue- T; parameter value
-
-
Method Details
-
getValue
- Returns:
- value.
-
getParameter
- Returns:
- parameter.
-
toString
-