Class AbstractHistoricalSortedMap<K,​V,​M extends SortedMap<K,​V>>

java.lang.Object
org.opentrafficsim.core.perception.AbstractHistorical<K,​AbstractHistoricalMap.EventMap<K,​V,​M>>
org.opentrafficsim.core.perception.collections.AbstractHistoricalMap<K,​V,​M>
org.opentrafficsim.core.perception.collections.AbstractHistoricalSortedMap<K,​V,​M>
Type Parameters:
K - key type
V - value type
M - sorted map type
All Implemented Interfaces:
Map<K,​V>, SortedMap<K,​V>, HistoricalMap<K,​V>, HistoricalSortedMap<K,​V>, HistoryManager.HistoricalElement
Direct Known Subclasses:
AbstractHistoricalNavigableMap

public abstract class AbstractHistoricalSortedMap<K,​V,​M extends SortedMap<K,​V>>
extends AbstractHistoricalMap<K,​V,​M>
implements HistoricalSortedMap<K,​V>
SortedMap-valued historical state. The current sorted map is always maintained, and past states of the sorted map are obtained by applying the events between now and the requested time in reverse.

The set views and sub-maps returned by this class are unmodifiable.

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 2 feb. 2018
Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel