SyntaxFix
Write A Post
Hire A Developer
Questions
You can simply copy it to an array:
int[] arr = new int[list.size()]; for(int i = 0; i < list.size(); i++) { arr[i] = list.get(i); }
Not too fancy; but, hey, it works...