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>
public class AbstractPerceptionReiterable.PerceptionIterator extends Object implements Iterator<H>
This iterator is returned to callers of theiterator()
method. Multiple instances may be returned which use the same linked list ofSecondaryIteratorEntry
. 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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
H
next()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-