Interface HistoricalQueue<E>
- Type Parameters:
E- element type
- All Superinterfaces:
Collection<E>,HistoricalCollection<E>,Iterable<E>,Queue<E>
- All Known Subinterfaces:
HistoricalDeque<E>
- All Known Implementing Classes:
AbstractHistoricalQueue,HistoricalLinkedList,HistoricalPriorityQueue
public interface HistoricalQueue<E> extends HistoricalCollection<E>, Queue<E>
Interface for historical queues.
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
Methods inherited from interface java.util.Collection
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, retainAll, size, spliterator, stream, toArray, toArray, toArrayMethods inherited from interface org.opentrafficsim.core.perception.collections.HistoricalCollection
removeIf
-
Method Details
-
get
Returns the current queue.- Specified by:
getin interfaceHistoricalCollection<E>- Returns:
- Queue; current queue
-
get
Returns a past queue.- Specified by:
getin interfaceHistoricalCollection<E>- Parameters:
time- Time; time to obtain the queue at- Returns:
- Queue; past queue
-