Class DescLongIterator

java.lang.Object
org.apache.commons.jexl3.internal.DescLongIterator
All Implemented Interfaces:
Iterator<Long>

class DescLongIterator extends Object implements Iterator<Long>
An iterator on a long range.
  • Field Details

    • min

      private final long min
      The lower boundary.
    • max

      private final long max
      The upper boundary.
    • cursor

      private long cursor
      The current value.
  • Constructor Details

    • DescLongIterator

      DescLongIterator(long l, long h)
      Creates a iterator on the range.
      Parameters:
      l - low boundary
      h - high boundary
  • Method Details