E - element typepublic class HistoricalVector<E> extends AbstractHistoricalList<E,Vector<E>>
Vector methods, but only those shared with List. The returned argument is
however a List.Iterator returned by this class does not support the remove(), add() and set() methods.
Any returned sublist is unmodifiable.
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
AbstractHistoricalList.AddEvent<E,L extends List<E>>, AbstractHistoricalList.EventList<E,L extends List<E>>, AbstractHistoricalList.RemoveEvent<E,L extends List<E>>AbstractHistoricalCollection.EventCollection<E,C extends Collection<E>>AbstractHistorical.EventValue<T>| Constructor and Description |
|---|
HistoricalVector(HistoryManager historyManager)
Constructor.
|
HistoricalVector(HistoryManager historyManager,
Collection<? extends E> c)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Vector<E> |
get()
Returns the current list.
|
Vector<E> |
get(org.djunits.value.vdouble.scalar.Time time)
Returns a past list.
|
String |
toString() |
add, add, addAll, get, indexOf, lastIndexOf, listIterator, listIterator, remove, remove, set, subListaddAll, clear, contains, containsAll, fill, fill, getCollection, isEmpty, iterator, removeAll, retainAll, size, toArray, toArrayaddEvent, cleanUpHistory, getEvent, getEvents, getLastEvent, isLastState, now, removeEventclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreplaceAll, sortremoveIfaddAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, removeAll, retainAll, size, spliterator, toArray, toArrayparallelStream, streampublic HistoricalVector(HistoryManager historyManager)
historyManager - HistoryManager; history managerpublic HistoricalVector(HistoryManager historyManager, Collection<? extends E> c)
historyManager - HistoryManager; history managerc - Collection; initial collectionCopyright © 2014–2018 Delft University of Technology. All rights reserved.