public abstract class BasicNodeIter extends NodeIter implements Iterable<ANode>
Iterable
interface, which is why all of its
values can also be retrieved via enhanced for(for-each) loops. Note, however, that
the next()
method will give you better performance.Modifier and Type | Field and Description |
---|---|
static BasicNodeIter |
EMPTY
Empty iterator.
|
Constructor and Description |
---|
BasicNodeIter() |
Modifier and Type | Method and Description |
---|---|
Iterator<ANode> |
iterator() |
abstract ANode |
next()
Returns the next item.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public static final BasicNodeIter EMPTY
Copyright © 2005–2023 BaseX Team. All rights reserved.