Java tutorial
//package com.java2s; import java.util.ArrayList; import java.util.List; public class Main { public static List<Long> stringConvertLong(String[] arry) { List<Long> result = new ArrayList<Long>(); for (String a : arry) { result.add(Long.parseLong(a)); } return result; } }