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.
-
-
Constructor Summary
Constructors Constructor Description ParameterValueSet(ParameterType<T> parameter, T value)Construct a new ParameterValueSet.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParameterType<?>getParameter()Retrieve the ParameterType of this ParameterValueSet.ObjectgetValue()Retrieve the value of this ParameterValueSet.StringtoString()
-
-
-
Constructor Detail
-
ParameterValueSet
public ParameterValueSet(ParameterType<T> parameter, T value)
Construct a new ParameterValueSet.- Type Parameters:
T- parameter value type- Parameters:
parameter- ParameterType<T>; parametervalue- T; parameter value
-
-
Method Detail
-
getValue
public Object getValue()
Retrieve the value of this ParameterValueSet.- Returns:
- Object; the value of this ParameterValueSet
-
getParameter
public ParameterType<?> getParameter()
Retrieve the ParameterType of this ParameterValueSet.- Returns:
- ParameterType<?>; the ParameterType of this ParameterValueSet
-
-