net.sf.saxon.sort
Class GroupEndingIterator
java.lang.Object
net.sf.saxon.sort.GroupEndingIterator
- GroupIterator, LookaheadIterator, SequenceIterator
public class GroupEndingIterator
extends java.lang.Object
A GroupEndingIterator iterates over a sequence of groups defined by
xsl:for-each-group group-ending-with="x". The groups are returned in
order of first appearance.
getProperties
public int getProperties()
Get properties of this iterator, as a bit-significant integer.
- getProperties in interface SequenceIterator
hasNext
public boolean hasNext()
Determine whether there are more items to come. Note that this operation
is stateless and it is not necessary (or usual) to call it before calling
next(). It is used only when there is an explicit need to tell if we
are at the last element.
This method must not be called unless the result of getProperties() on the iterator
includes the bit setting
SequenceIterator.LOOKAHEAD
- hasNext in interface LookaheadIterator
- true if there are more items in the sequence