E - element typeC - collection typepublic abstract static class AbstractHistoricalCollection.EventCollection<E,C extends Collection<E>> extends AbstractHistorical.EventValue<E>
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 |
|---|
EventCollection(double time,
E value)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
restore(C collection)
Restores the collection to the state of before the event.
|
String |
toString() |
getTime, getValuepublic EventCollection(double time,
E value)
time - double; time of eventvalue - E; value of eventpublic abstract void restore(C collection)
collection - C; collection to restorepublic String toString()
toString in class AbstractHistorical.EventValue<E>Copyright © 2014–2018 Delft University of Technology. All rights reserved.