code: public <T extends Number & Comparable> NumberRange by(T stepSize) {
          return new NumberRange(NumberRange.comparableNumber((Number)from), NumberRange.comparableNumber((Number)to), stepSize, inclusive);
      }
docs: Creates a new NumberRange with the same <code>from</code> and <code>to</code> as this
  IntRange but with a step size of <code>stepSize</code>.
  
  @param stepSize the desired step size
  @return a new NumberRange
  @since 2.5.0