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-2020 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
-
Nested Class Summary
-
Method Summary
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
replaceAllMethods 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, sizeMethods 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 Details
-
get
NavigableMap<K,V> get()Returns the current navigable map.- Specified by:
getin interfaceHistoricalMap<K,V>- Specified by:
getin interfaceHistoricalSortedMap<K,V>- Returns:
- NavigableMap; current navigable map
-
get
Returns a past navigable map.- Specified by:
getin interfaceHistoricalMap<K,V>- Specified by:
getin interfaceHistoricalSortedMap<K,V>- Parameters:
time- Time; time to obtain the navigable map at- Returns:
- NavigableMap; past navigable map
-