net.sf.saxon.expr
public class RangeIterator extends Object implements SequenceIterator, ReversibleIterator, LastPositionFinder, LookaheadIterator, GroundedIterator
Field Summary | |
---|---|
long | currentValue |
int | increment |
long | limit |
long | start |
Constructor Summary | |
---|---|
RangeIterator(long start, long end) |
Method Summary | |
---|---|
Item | current() |
SequenceIterator | getAnother() |
int | getLastPosition() |
int | getProperties()
Get properties of this iterator, as a bit-significant integer.
|
SequenceIterator | getReverseIterator() |
boolean | hasNext() |
Value | materialize()
Return a Value containing all the items in the sequence returned by this
SequenceIterator. |
Item | next() |
int | position() |
Returns: the properties of this iterator. This will be some combination of properties such as net.sf.saxon.om.SequenceIterator.GROUNDED, net.sf.saxon.om.SequenceIterator.LAST_POSITION_FINDER, and net.sf.saxon.om.SequenceIterator.LOOKAHEAD. It is always acceptable to return the value zero, indicating that there are no known special properties. It is acceptable for the properties of the iterator to change depending on its state.
Returns: the corresponding Value