<@U0BHS1Y07> The only way: ``` int[] out = new i...
# random
s
@voddan The only way:
Copy code
int[] out = new int[shortArray.length];
 for (int i = 0; i < shortArray.length; i++) {
   out[i] = shortArray[i];
 }
Cause
Arrays.stream()
does not support shorts ;(