[Java] Class NodeIterator
- groovy.util.slurpersupport.NodeIterator
- All Implemented Interfaces and Traits:
- Iterator
public abstract class NodeIterator extends Object
Helper class for iterating through nodes.
- Authors:
- John Wilson
Constructor Summary
Constructor and description |
---|
NodeIterator
(Iterator iter) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
protected Object |
getNextNode(Iterator iter) | |
boolean |
hasNext() | |
Object |
next() | |
void |
remove() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail
public NodeIterator(Iterator iter)
Method Detail
protected Object getNextNode(Iterator iter)
public boolean hasNext()
public Object next()
public void remove()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/groovy/util/slurpersupport/NodeIterator.html