Interface HistoricalNavigableMap<K,V>
-
- Type Parameters:
K
- key typeV
- value type
- All Superinterfaces:
HistoricalMap<K,V>
,HistoricalSortedMap<K,V>
,Map<K,V>
,NavigableMap<K,V>
,SortedMap<K,V>
- All Known Implementing Classes:
AbstractHistoricalNavigableMap
,HistoricalTreeMap
public interface HistoricalNavigableMap<K,V> extends HistoricalSortedMap<K,V>, NavigableMap<K,V>
Interface for historical navigable maps.Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 3 feb. 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NavigableMap<K,V>
get()
Returns the current navigable map.NavigableMap<K,V>
get(Time time)
Returns a past navigable map.-
Methods inherited from interface org.opentrafficsim.core.perception.collections.HistoricalMap
replaceAll
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
Methods inherited from interface java.util.NavigableMap
ceilingEntry, ceilingKey, descendingKeySet, descendingMap, firstEntry, floorEntry, floorKey, headMap, headMap, higherEntry, higherKey, lastEntry, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, subMap, subMap, tailMap, tailMap
-
-
-
-
Method Detail
-
get
NavigableMap<K,V> get()
Returns the current navigable map.- Specified by:
get
in interfaceHistoricalMap<K,V>
- Specified by:
get
in interfaceHistoricalSortedMap<K,V>
- Returns:
- NavigableMap; current navigable map
-
get
NavigableMap<K,V> get(Time time)
Returns a past navigable map.- Specified by:
get
in interfaceHistoricalMap<K,V>
- Specified by:
get
in interfaceHistoricalSortedMap<K,V>
- Parameters:
time
- Time; time to obtain the navigable map at- Returns:
- NavigableMap; past navigable map
-
-