Interface HistoricalMap<K,V>
- Type Parameters:
K- key typeV- value type
- All Superinterfaces:
Map<K,V>
- All Known Subinterfaces:
HistoricalNavigableMap<K,V>,HistoricalSortedMap<K,V>
- All Known Implementing Classes:
AbstractHistoricalMap,AbstractHistoricalNavigableMap,AbstractHistoricalSortedMap,HistoricalEnumMap,HistoricalHashMap,HistoricalLinkedHashMap,HistoricalTreeMap
public interface HistoricalMap<K,V> extends Map<K,V>
Interface for historical 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 java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size, values
-
Method Details
-
get
Returns the current map.- Returns:
- Map; current map
-
get
Returns a past map.- Parameters:
time- Time; time to obtain the map at- Returns:
- Map; past map
-
replaceAll
- Specified by:
replaceAllin interfaceMap<K,V>
-