Class AbstractPerceptionReiterable.PerceptionIterator
java.lang.Object
org.opentrafficsim.road.gtu.lane.perception.AbstractPerceptionReiterable.PerceptionIterator
- All Implemented Interfaces:
java.util.Iterator<H>
- Enclosing class:
- AbstractPerceptionReiterable<H extends Headway,U>
public class AbstractPerceptionReiterable.PerceptionIterator
extends java.lang.Object
implements java.util.Iterator<H>
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-2020 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 16 feb. 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel