convert list integer to array in java code example
Example 1: convert int array to integer list java
int[] arr = {1,2,3};
IntStream.of(arr).boxed().collect(Collectors.toList());
Example 2: convert Integer arraylist to array java
Your_ArrayList_Name.stream().mapToInt(k->k).toArray();