Package net.sf.saxon.tree.jiter
Class ConcatenatingIterator<E>
java.lang.Object
net.sf.saxon.tree.jiter.ConcatenatingIterator<E>
- All Implemented Interfaces:
Iterator<E>
An iterator (typically over nodes), that concatenates the nodes returned by two supplied iterators.
-
Constructor Details
-
ConcatenatingIterator
Create an iterator that concatenates the results of two supplied iterators. The second iterator isn't created until it is actually needed.- Parameters:
first
- the first iteratorsecond
- a function that can be called to supply the second iterator
-
-
Method Details