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