Class AbstractPerceptionReiterable.PerceptionIterator
java.lang.Object
org.opentrafficsim.road.gtu.lane.perception.AbstractPerceptionReiterable.PerceptionIterator
- All Implemented Interfaces:
Iterator<H>
- Enclosing class:
- AbstractPerceptionReiterable<H extends Headway,
U>
This iterator is returned to callers of the
iterator() method. Multiple instances may be returned which use the
same linked list of SecondaryIteratorEntry. Whenever an iterator runs to the end of this list, the primary
iterator is requested to find the next object, if it has a next object.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel