Interface HistoricalNavigableSet<E>
-
- Type Parameters:
E- element type
- All Superinterfaces:
Collection<E>,HistoricalCollection<E>,HistoricalSet<E>,HistoricalSortedSet<E>,Iterable<E>,NavigableSet<E>,Set<E>,SortedSet<E>
- All Known Implementing Classes:
AbstractHistoricalNavigableSet,HistoricalTreeSet
public interface HistoricalNavigableSet<E> extends HistoricalSortedSet<E>, NavigableSet<E>
Interface for historical navigable 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 NavigableSet<E>get()Retrieve the current, internal navigable set.NavigableSet<E>get(Time time)Retrieve a past navigable set.-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface org.opentrafficsim.core.perception.collections.HistoricalCollection
removeIf
-
Methods inherited from interface java.util.NavigableSet
ceiling, descendingIterator, descendingSet, floor, headSet, headSet, higher, iterator, lower, pollFirst, pollLast, subSet, subSet, tailSet, tailSet
-
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
-
Methods inherited from interface java.util.SortedSet
comparator, first, last, spliterator
-
-
-
-
Method Detail
-
get
NavigableSet<E> get()
Retrieve the current, internal navigable set. TODO document what the caller may do with the result.- Specified by:
getin interfaceHistoricalCollection<E>- Specified by:
getin interfaceHistoricalSet<E>- Specified by:
getin interfaceHistoricalSortedSet<E>- Returns:
- NavigableSet<E>; current navigable set
-
get
NavigableSet<E> get(Time time)
Retrieve a past navigable set.- Specified by:
getin interfaceHistoricalCollection<E>- Specified by:
getin interfaceHistoricalSet<E>- Specified by:
getin interfaceHistoricalSortedSet<E>- Parameters:
time- Time; time to obtain the navigable set at- Returns:
- NavigableSet<E>; past navigable set
-
-