public class AbstractPerceptionReiterable.PerceptionIterator extends Object implements Iterator<H>
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-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Field and Description |
---|---|
(package private) org.opentrafficsim.road.gtu.lane.perception.AbstractPerceptionReiterable.SecondaryIteratorEntry |
lastReturned
Last returned entry.
|
(package private) org.opentrafficsim.road.gtu.lane.perception.AbstractPerceptionReiterable.SecondaryIteratorEntry |
next
Next entry.
|
Constructor and Description |
---|
PerceptionIterator()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
H |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
Copyright © 2014–2018 Delft University of Technology. All rights reserved.