Interface HistoricalSet<E>
-
- Type Parameters:
E- element type
- All Superinterfaces:
java.util.Collection<E>,HistoricalCollection<E>,java.lang.Iterable<E>,java.util.Set<E>
- All Known Subinterfaces:
HistoricalNavigableSet<E>,HistoricalSortedSet<E>
- All Known Implementing Classes:
AbstractHistoricalNavigableSet,AbstractHistoricalSortedSet,HistoricalHashSet,HistoricalLinkedHashSet,HistoricalTreeSet
public interface HistoricalSet<E> extends HistoricalCollection<E>, java.util.Set<E>
Interface for historical sets.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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<E>get()Returns the current set.java.util.Set<E>get(Time time)Returns a past set.-
Methods inherited from interface org.opentrafficsim.core.perception.collections.HistoricalCollection
removeIf
-
-
-
-
Method Detail
-
get
java.util.Set<E> get()
Returns the current set.- Specified by:
getin interfaceHistoricalCollection<E>- Returns:
- Set; current set
-
get
java.util.Set<E> get(Time time)
Returns a past set.- Specified by:
getin interfaceHistoricalCollection<E>- Parameters:
time- Time; time to obtain the set at- Returns:
- Set; past set
-
-