Class AscIntegerIterator

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

final class AscIntegerIterator extends Object implements Iterator<Integer>
An ascending iterator on an integer range.
  • Field Details

    • min

      private final int min
      The lower boundary.
    • max

      private final int max
      The upper boundary.
    • cursor

      private int cursor
      The current value.
  • Constructor Details

    • AscIntegerIterator

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