class AbstractProperty.PropertyIterator extends Object implements Iterator<AbstractProperty<T>>
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2015-07-26 01:01:13 +0200 (Sun, 26 Jul 2015) $, @version $Revision: 1155 $, by $Author: averbraeck $,
initial version jan. 2015
Constructor and Description |
---|
PropertyIterator(AbstractProperty<T> ap)
Construct a new PropertyIterator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
AbstractProperty<T> |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public PropertyIterator(AbstractProperty<T> ap)
ap
- AbstractProperty; root of the tree to iterate overpublic boolean hasNext()
hasNext
in interface Iterator<AbstractProperty<T>>
public AbstractProperty<T> next()
next
in interface Iterator<AbstractProperty<T>>
public void remove()
remove
in interface Iterator<AbstractProperty<T>>
Copyright © 2014–2016 Delft University of Technology. All rights reserved.