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