Class AbstractHistoricalNavigableSet<E,​S extends NavigableSet<E>>

Type Parameters:
E - element type
S - navigable set type
All Implemented Interfaces:
Iterable<E>, Collection<E>, NavigableSet<E>, Set<E>, SortedSet<E>, HistoricalCollection<E>, HistoricalNavigableSet<E>, HistoricalSet<E>, HistoricalSortedSet<E>, HistoryManager.HistoricalElement
Direct Known Subclasses:
HistoricalTreeSet

public abstract class AbstractHistoricalNavigableSet<E,​S extends NavigableSet<E>>
extends AbstractHistoricalSortedSet<E,​S>
implements HistoricalNavigableSet<E>
NavigableSet-valued historical state. The current navigable set is always maintained, and past states of the navigable set are obtained by applying the events between now and the requested time in reverse.

The Iterator returned by this class does not support the remove() method. Any returned subset is 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