T - value typepublic class NullHistorical<T> extends Object implements Historical<T>
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
NullHistorical(T value)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Get value at current simulation time.
|
T |
get(org.djunits.value.vdouble.scalar.Time time)
Get value at given time.
|
void |
set(T value)
Set value at the current simulation time.
|
String |
toString() |
public NullHistorical(T value)
value - T; valuepublic void set(T value)
set in interface Historical<T>value - T; valuepublic T get()
get in interface Historical<T>public T get(org.djunits.value.vdouble.scalar.Time time)
get in interface Historical<T>time - T; time to get the valueCopyright © 2014–2018 Delft University of Technology. All rights reserved.