public static IntStream numberRangeWithCount ( int start , int interval , int count ) { return IntStream . iterate ( start , n -> n + interval ) . limit ( count ) ; }
Number range with count int stream .