Interface HistoricalCollection<E>
-
- Type Parameters:
E- element type
- All Superinterfaces:
java.util.Collection<E>,java.lang.Iterable<E>
- All Known Subinterfaces:
HistoricalDeque<E>,HistoricalList<E>,HistoricalNavigableSet<E>,HistoricalQueue<E>,HistoricalSet<E>,HistoricalSortedSet<E>
- All Known Implementing Classes:
AbstractHistoricalCollection,AbstractHistoricalList,AbstractHistoricalNavigableSet,AbstractHistoricalQueue,AbstractHistoricalSortedSet,HistoricalArrayList,HistoricalHashSet,HistoricalLinkedHashSet,HistoricalLinkedList,HistoricalPriorityQueue,HistoricalTreeSet,HistoricalVector
public interface HistoricalCollection<E> extends java.util.Collection<E>Interface for historical collections.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 Default Methods Modifier and Type Method Description java.util.Collection<E>get()Returns the current collection.java.util.Collection<E>get(Time time)Returns a past collection.default booleanremoveIf(java.util.function.Predicate<? super E> filter)
-
-
-
Method Detail
-
get
java.util.Collection<E> get()
Returns the current collection. This is not intended to be modified, and may be an unmodifiable.- Returns:
- Collection; current collection
-
get
java.util.Collection<E> get(Time time)
Returns a past collection.- Parameters:
time- Time; time to obtain the collection at- Returns:
- Collection; past collection
-
-