Class ReverseRangeIterator

    • Field Detail

      • start

        long start
      • currentValue

        long currentValue
      • limit

        long limit
    • Constructor Detail

      • ReverseRangeIterator

        public ReverseRangeIterator​(long start,
                                    long end)
                             throws XPathException
        Create an iterator over a range of integers in monotonic descending order
        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
        Throws:
        XPathException - if the values are inconsistent or if the length is greater than 2^31