In that case, you can use below code
public List<Long> arrayStringtoListOfArray(String[] values){
List<Long> lValues = new ArrayList<Long>();
for(int i=0; i<values.length;i++){
lValues.add(Long.parseLong(values[i]));
}
return lValues;
}
Hope that helps!