Interface HistoricalSortedMap<K,​V>

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

    • get

      SortedMap<K,​V> get()
      Returns the current sorted map.
      Specified by:
      get in interface HistoricalMap<K,​V>
      Returns:
      SortedMap; current sorted map
    • get

      SortedMap<K,​V> get​(Time time)
      Returns a past sorted map.
      Specified by:
      get in interface HistoricalMap<K,​V>
      Parameters:
      time - Time; time to obtain the sorted map at
      Returns:
      SortedMap; past sorted map