Class BigRangeIterator

java.lang.Object
net.sf.saxon.expr.BigRangeIterator
All Implemented Interfaces:
Closeable, AutoCloseable, LastPositionFinder, SequenceIterator, AtomicIterator<IntegerValue>, LookaheadIterator, UnfailingIterator

public class BigRangeIterator extends Object implements AtomicIterator<IntegerValue>, LastPositionFinder, LookaheadIterator
An Iterator that produces numeric values in a monotonic sequence, where the integers may exceed the range of a Long
  • Field Details

  • Constructor Details

    • BigRangeIterator

      public BigRangeIterator(BigInteger start, BigInteger end) throws XPathException
      Create an iterator over a range of monotonically increasing integers
      Parameters:
      start - the first integer in the sequence
      end - the last integer in the sequence. Must be >= start.
      Throws:
      XPathException - if for example the end is before the start
  • Method Details