Answers for "java 8 int array to list"

1

list to int array in java 8

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

convert array to list java

Collections.addAll(list, array);
Posted by: Guest on November-23-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language