Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java list to array

List<Integer> list = ...;
int[] array = new int[list.size()];
for(int i = 0; i < list.size(); i++) array[i] = list.get(i);
Source by dzone.com #
 
PREVIOUS NEXT
Tagged: #java #list #array
ADD COMMENT
Topic
Name
6+9 =