Introduction
Here is the source code for Main.java
Source
//package com.java2s;
import java.util.List;
public class Main {
public static long[] toArray(List<Long> list) {
long[] n = new long[list.size()];
for (int i = 0; i < list.size(); i++) {
n[i] = list.get(i);
}
return n;
}
}