Interface HistoricalMap<K,​V>

Type Parameters:
K - key type
V - 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-2019 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 Details

    • get

      Map<K,​V> get()
      Returns the current map.
      Returns:
      Map; current map
    • get

      Map<K,​V> get​(Time time)
      Returns a past map.
      Parameters:
      time - Time; time to obtain the map at
      Returns:
      Map; past map
    • replaceAll

      default void replaceAll​(BiFunction<? super K,​? super V,​? extends V> function)
      Specified by:
      replaceAll in interface Map<K,​V>