E - element typepublic class HistoricalTreeSet<E> extends AbstractHistoricalNavigableSet<E,TreeSet<E>>
Iterator returned by this class does not support the remove() method. Any returned subset 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.
AbstractHistoricalCollection.AddEvent<E,C extends Collection<E>>, AbstractHistoricalCollection.EventCollection<E,C extends Collection<E>>, AbstractHistoricalCollection.RemoveEvent<E,C extends Collection<E>>AbstractHistorical.EventValue<T>| Constructor and Description |
|---|
HistoricalTreeSet(HistoryManager historyManager)
Constructor.
|
HistoricalTreeSet(HistoryManager historyManager,
Collection<? extends E> c)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TreeSet<E> |
get()
Returns the current navigable set.
|
TreeSet<E> |
get(org.djunits.value.vdouble.scalar.Time time)
Returns a past navigable set.
|
String |
toString() |
ceiling, descendingIterator, descendingSet, floor, headSet, higher, lower, pollFirst, pollLast, subSet, tailSetcomparator, first, headSet, last, subSet, tailSetadd, 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, wait, wait, waitremoveIfheadSet, iterator, subSet, tailSetcomparator, first, last, spliteratoradd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArrayparallelStream, streampublic HistoricalTreeSet(HistoryManager historyManager)
historyManager - HistoryManager; history managerpublic HistoricalTreeSet(HistoryManager historyManager, Collection<? extends E> c)
historyManager - HistoryManager; history managerc - Collection; initial collectionpublic TreeSet<E> get()
public TreeSet<E> get(org.djunits.value.vdouble.scalar.Time time)
time - Time; time to obtain the navigable set atCopyright © 2014–2018 Delft University of Technology. All rights reserved.