K
- key typeV
- value typepublic class HistoricalHashMap<K,V> extends AbstractHistoricalMap<K,V,HashMap<K,V>>
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
AbstractHistoricalMap.EventMap<K,V,M extends Map<K,V>>
AbstractHistorical.EventValue<T>
Constructor and Description |
---|
HistoricalHashMap(HistoryManager historyManager)
Constructor.
|
HistoricalHashMap(HistoryManager historyManager,
Map<? extends K,? extends V> m)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
HashMap<K,V> |
get()
Returns the current map.
|
HashMap<K,V> |
get(Time time)
Returns a past map.
|
String |
toString() |
clear, containsKey, containsValue, entrySet, fill, fill, get, getMap, isEmpty, keySet, put, putAll, remove, size, values
addEvent, cleanUpHistory, getEvent, getEvents, getLastEvent, isLastState, now, removeEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
replaceAll
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace
public HistoricalHashMap(HistoryManager historyManager)
historyManager
- HistoryManager; history managerpublic HistoricalHashMap(HistoryManager historyManager, Map<? extends K,? extends V> m)
historyManager
- HistoryManager; history managerm
- Map<? extends K, ? extends V>; initial mapCopyright © 2014–2019 Delft University of Technology. All rights reserved.