E - element typeQ - queue typepublic abstract class AbstractHistoricalQueue<E,Q extends Queue<E>> extends AbstractHistoricalCollection<E,Q> implements HistoricalQueue<E>
Iterator returned by this class does not support the remove() method.
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
AbstractHistoricalCollection.AddEvent<E,C extends Collection<E>>, AbstractHistoricalCollection.EventCollection<E,C extends Collection<E>>, AbstractHistoricalCollection.RemoveEvent<E,C extends Collection<E>>AbstractHistorical.EventValue<T>| Modifier | Constructor and Description |
|---|---|
protected |
AbstractHistoricalQueue(HistoryManager historyManager,
Q queue)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
E |
element() |
boolean |
offer(E e) |
E |
peek() |
E |
poll() |
E |
remove() |
add, addAll, clear, contains, containsAll, fill, fill, getCollection, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArrayaddEvent, cleanUpHistory, getEvent, getEvents, getLastEvent, isLastState, now, removeEventclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getremoveIfaddAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, retainAll, size, spliterator, stream, toArray, toArrayprotected AbstractHistoricalQueue(HistoryManager historyManager, Q queue)
historyManager - HistoryManager; history managerqueue - Q; initial queueCopyright © 2014–2019 Delft University of Technology. All rights reserved.