@ NotNull public static IntStream of ( @ NotNull final int ... values ) { Objects . requireNonNull ( values ) ; if ( values . length == 0 ) { return IntStream . empty ( ) ; } return new IntStream ( new IntArray ( values ) ) ; }
Returns stream whose elements are the specified values .