K
- key typeV
- value typepublic class HistoricalTreeMap<K,V> extends AbstractHistoricalNavigableMap<K,V,TreeMap<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 |
---|
HistoricalTreeMap(HistoryManager historyManager)
Constructor.
|
HistoricalTreeMap(HistoryManager historyManager,
Map<? extends K,? extends V> m)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TreeMap<K,V> |
get()
Returns the current navigable map.
|
TreeMap<K,V> |
get(Time time)
Returns a past navigable map.
|
String |
toString() |
ceilingEntry, ceilingKey, descendingKeySet, descendingMap, firstEntry, floorEntry, floorKey, headMap, higherEntry, higherKey, lastEntry, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, subMap, tailMap
comparator, firstKey, headMap, lastKey, subMap, tailMap
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
headMap, subMap, tailMap
comparator, entrySet, firstKey, keySet, lastKey, values
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
public HistoricalTreeMap(HistoryManager historyManager)
historyManager
- HistoryManager; history managerpublic HistoricalTreeMap(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.