K
- key typeV
- value typeM
- sorted map typepublic abstract class AbstractHistoricalSortedMap<K,V,M extends SortedMap<K,V>> extends AbstractHistoricalMap<K,V,M> implements HistoricalSortedMap<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>
Modifier | Constructor and Description |
---|---|
protected |
AbstractHistoricalSortedMap(HistoryManager historyManager,
M map)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Comparator<? super K> |
comparator() |
K |
firstKey() |
SortedMap<K,V> |
headMap(K toKey) |
K |
lastKey() |
SortedMap<K,V> |
subMap(K fromKey,
K toKey) |
SortedMap<K,V> |
tailMap(K fromKey) |
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, toString, wait, wait, wait
get, get
replaceAll
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
protected AbstractHistoricalSortedMap(HistoryManager historyManager, M map)
historyManager
- HistoryManager; history managermap
- M; initial mapCopyright © 2014–2019 Delft University of Technology. All rights reserved.