Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

list to int array in java 8

int[] array = list.stream().mapToInt(i->i).toArray();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #list #int #array #java
ADD COMMENT
Topic
Name
4+2 =