Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

integer arraylist to int array

//only works in java 8 or later
list.stream().mapToInt(i -> i).toArray();
 
PREVIOUS NEXT
Tagged: #integer #arraylist #int #array
ADD COMMENT
Topic
Name
7+2 =