T - value typepublic static class AbstractHistorical.EventValue<T> extends Object implements AbstractHistorical.Event
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 |
|---|
EventValue(double time,
T value)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getTime()
Returns the time of this event.
|
T |
getValue()
Returns the value of this event.
|
String |
toString() |
public EventValue(double time,
T value)
time - double; time of eventvalue - T; value of eventpublic double getTime()
getTime in interface AbstractHistorical.Eventpublic T getValue()
Copyright © 2014–2018 Delft University of Technology. All rights reserved.