K - key typeV - value typeM - map typepublic static class AbstractHistoricalMap.EventMap<K,V,M extends Map<K,V>> extends AbstractHistorical.EventValue<K>
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 |
|---|
EventMap(double time,
K key,
boolean contained,
V previousValue)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
restore(M map)
Restores the map to the state of before the event.
|
String |
toString() |
getTime, getValuepublic void restore(M map)
map - M; map to restorepublic String toString()
toString in class AbstractHistorical.EventValue<K>Copyright © 2014–2018 Delft University of Technology. All rights reserved.