Interface HistoricalDeque<E>
- Type Parameters:
E- element type
- All Superinterfaces:
Collection<E>,Deque<E>,HistoricalCollection<E>,HistoricalQueue<E>,Iterable<E>,Queue<E>
- All Known Implementing Classes:
HistoricalLinkedList
public interface HistoricalDeque<E> extends HistoricalQueue<E>, Deque<E>
Interface for historical deques.
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
clear, containsAll, equals, hashCode, isEmpty, parallelStream, removeAll, retainAll, spliterator, stream, toArray, toArray, toArrayMethods inherited from interface java.util.Deque
add, addAll, addFirst, addLast, contains, descendingIterator, element, getFirst, getLast, iterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, sizeMethods inherited from interface org.opentrafficsim.core.perception.collections.HistoricalCollection
removeIf
-
Method Details
-
get
Returns the current deque.- Specified by:
getin interfaceHistoricalCollection<E>- Specified by:
getin interfaceHistoricalQueue<E>- Returns:
- Deque; current deque
-
get
Returns a past deque.- Specified by:
getin interfaceHistoricalCollection<E>- Specified by:
getin interfaceHistoricalQueue<E>- Parameters:
time- Time; time to obtain the deque at- Returns:
- Deque; past deque
-