K - key typeV - value typepublic class HistoricalLinkedHashMap<K,V> extends AbstractHistoricalMap<K,V,LinkedHashMap<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 |
|---|
HistoricalLinkedHashMap(HistoryManager historyManager)
Constructor.
|
HistoricalLinkedHashMap(HistoryManager historyManager,
Map<? extends K,? extends V> m)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
LinkedHashMap<K,V> |
get()
Returns the current map.
|
LinkedHashMap<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, valuesaddEvent, cleanUpHistory, getEvent, getEvents, getLastEvent, isLastState, now, removeEventclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreplaceAllcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replacepublic HistoricalLinkedHashMap(HistoryManager historyManager)
historyManager - HistoryManager; history managerpublic HistoricalLinkedHashMap(HistoryManager historyManager, Map<? extends K,? extends V> m)
historyManager - HistoryManager; history managerm - Map<? extends K, ? extends V>; initial mappublic LinkedHashMap<K,V> get()
public LinkedHashMap<K,V> get(Time time)
time - Time; time to obtain the map atCopyright © 2014–2019 Delft University of Technology. All rights reserved.