code: @NotNull
      public IntStream ints(long streamSize) {
          if (streamSize < 0L) throw new IllegalArgumentException();
          if (streamSize == 0L) {
              return IntStream.empty();
          }
          return ints().limit(streamSize);
      }
docs: Returns a stream producing the given {@code streamSize} number of
  pseudorandom {@code int} values.
  
  <p>A pseudorandom {@code int} value is generated as if it's the result of
  calling the method {@link Random#nextInt()}
  
  @param streamSize the number of values to generate
  @return a stream of pseudorandom {@code int} values
  @throws IllegalArgumentException if {@code streamSize} is
  less than zero