Answers for "list array to int array primitive"

1

list to int array in java 8

int[] array = list.stream().mapToInt(i->i).toArray();
Posted by: Guest on July-30-2020
0

convert arraylist of integers to array primitive

list.stream().mapToInt(i -> i).toArray();
Posted by: Guest on April-17-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language