net.sf.saxon.expr
public class ReverseRangeIterator extends Object implements SequenceIterator, ReversibleIterator, LastPositionFinder, LookaheadIterator
Field Summary | |
---|---|
long | currentValue |
long | limit |
long | start |
Constructor Summary | |
---|---|
ReverseRangeIterator(long start, long end)
Create an iterator over a range of integers in monotonic descending order |
Method Summary | |
---|---|
void | close() |
Item | current() |
SequenceIterator | getAnother() |
int | getLastPosition() |
int | getProperties()
Get properties of this iterator, as a bit-significant integer.
|
SequenceIterator | getReverseIterator() |
boolean | hasNext() |
Item | next() |
int | position() |
Parameters: start the first integer to be delivered (the highest in the range) end the last integer to be delivered (the lowest in the range). Must be <= start
Returns: the properties of this iterator. This will be some combination of properties such as GROUNDED, LAST_POSITION_FINDER, and 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.