code: public Iterator<Integer> getBshIterator(final Number obj) {
          int number = obj.intValue();
          if (number == 0)
              return this.emptyIt();
          if (number > 0)
              return IntStream.rangeClosed(0, number).iterator();
          return IntStream.rangeClosed(number, 0).map(i -> number - i).iterator();
      }
docs: Gets iterator for Number range from 0.
  Range from 0 up to number or 0 down to number inclusive.
  Empty Iterator if number is 0.
  @param obj the top range number value
  @return the bsh iterator