Class AbstractHistoricalList.AddEvent<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>
-
- org.opentrafficsim.core.perception.collections.AbstractHistoricalList.AddEvent<E,L>
-
- Type Parameters:
E
- element typeL
- list type
- All Implemented Interfaces:
AbstractHistorical.Event
- Enclosing class:
- AbstractHistoricalList<E,L extends List<E>>
public static class AbstractHistoricalList.AddEvent<E,L extends List<E>> extends AbstractHistoricalList.EventList<E,L>
Class for events that add a value to 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 void
restore(L list)
Restores the collection to the state of before the event.String
toString()
-
Methods inherited from class org.opentrafficsim.core.perception.collections.AbstractHistoricalList.EventList
getIndex
-
Methods inherited from class org.opentrafficsim.core.perception.AbstractHistorical.EventValue
getTime, getValue
-
-