Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

convert arraylist of integers to array primitive

list.stream().mapToInt(i -> i).toArray();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #arraylist #integers #array #primitive
ADD COMMENT
Topic
Name
2+3 =