public static < N extends Number > IntStream buildIntStream ( Collection < N > numberCollection ) { return numberCollection . stream ( ) . mapToInt ( Number :: intValue ) ; }
Build int stream int stream .