Interface HistoricalSortedMap<K,V>
- Type Parameters:
K- key typeV- value type
- All Superinterfaces:
HistoricalMap<K,V>,Map<K,V>,SortedMap<K,V>
- All Known Subinterfaces:
HistoricalNavigableMap<K,V>
- All Known Implementing Classes:
AbstractHistoricalNavigableMap,AbstractHistoricalSortedMap,HistoricalTreeMap
public interface HistoricalSortedMap<K,V> extends HistoricalMap<K,V>, SortedMap<K,V>
Interface for historical sorted 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
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, size
-
Method Details
-
get
Returns the current sorted map.- Specified by:
getin interfaceHistoricalMap<K,V>- Returns:
- SortedMap; current sorted map
-
get
Returns a past sorted map.- Specified by:
getin interfaceHistoricalMap<K,V>- Parameters:
time- Time; time to obtain the sorted map at- Returns:
- SortedMap; past sorted map
-