Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

convert list of integer to array in java

List<Integer> al = new ArrayList<Integer>(); 
Integer[] arr = new Integer[al.size()]; 
arr = al.toArray(arr); 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #list #integer #array #java
ADD COMMENT
Topic
Name
1+7 =