Class AbstractHistoricalList.EventList<E,L extends List<E>>
- java.lang.Object
-
- org.opentrafficsim.core.perception.AbstractHistorical.EventValue<E>
-
- org.opentrafficsim.core.perception.collections.AbstractHistoricalCollection.EventCollection<E,L>
-
- org.opentrafficsim.core.perception.collections.AbstractHistoricalList.EventList<E,L>
-
- Type Parameters:
E
- element typeL
- list type
- All Implemented Interfaces:
AbstractHistorical.Event
- Direct Known Subclasses:
AbstractHistoricalList.AddEvent
,AbstractHistoricalList.RemoveEvent
- Enclosing class:
- AbstractHistoricalList<E,L extends List<E>>
public abstract static class AbstractHistoricalList.EventList<E,L extends List<E>> extends AbstractHistoricalCollection.EventCollection<E,L>
Abstract super class for events that add or remove a value from the list.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 1 jan. 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) int
getIndex()
Returns the index.-
Methods inherited from class org.opentrafficsim.core.perception.collections.AbstractHistoricalCollection.EventCollection
restore, toString
-
Methods inherited from class org.opentrafficsim.core.perception.AbstractHistorical.EventValue
getTime, getValue
-
-
-
-
Constructor Detail
-
EventList
public EventList(double time, E value, int index)
Constructor.- Parameters:
time
- double; time of eventvalue
- E; value of eventindex
- int; index
-
-