Introduction
Here is the source code for Main.java
Source
//package com.java2s;
import java.util.List;
public class Main {
public static int[] toIntArray(final List<Integer> l) {
final int[] r = new int[l.size()];
for (int i = 0; i < l.size(); i++) {
r[i] = l.get(i);
}
return r;
}
}