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-2022 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 Queue<E>
get()
Returns the current queue.Queue<E>
get(Time time)
Returns a past queue.-
Methods inherited from interface java.util.Collection
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, retainAll, size, spliterator, stream, toArray, toArray, toArray
-
Methods inherited from interface org.opentrafficsim.core.perception.collections.HistoricalCollection
removeIf
-
-
-
-
Method Detail
-
get
Queue<E> get()
Returns the current queue.- Specified by:
get
in interfaceHistoricalCollection<E>
- Returns:
- Queue; current queue
-
-