2016-04-02 11 views

risposta

8

Usa flatMapToInt

int[] result = stream.flatMapToInt(Arrays::stream).toArray();