criskgl
10/15/2019 - 8:06 PM

list of Integer to int[]

int[] arr = list.stream().mapToInt(i->i).toArray();