Class IncrementalIterator
java.lang.Object
net.sf.saxon.tree.iter.IncrementalIterator
- All Implemented Interfaces:
Closeable, AutoCloseable, SequenceIterator, AxisIterator
This class implements an AxisIterator by providing a start item, and a function
that selects the next item as a function of the previous item.
-
Constructor Summary
ConstructorsConstructorDescriptionIncrementalIterator(NodeInfo start, Function<NodeInfo, NodeInfo> stepper) Create an IncrementalIterator -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SequenceIterator
close
-
Constructor Details
-
IncrementalIterator
-
-
Method Details
-
next
Get the next item in the sequence- Specified by:
nextin interfaceAxisIterator- Specified by:
nextin interfaceSequenceIterator- Returns:
- the next item, or null if there are no more items to be returned.
-