I have been trying to convert string of ArrayList<ArrayList<String>> to ArrayList<ArrayList<Integer>>
Here is my codes that I tried to build.
public void convertString (ArrayList<ArrayList<String>> templist) {
readList = new ArrayList<ArrayList<Integer>> ();
for (ArrayList<String> t : templist) {
readList.add(Integer.parseInt(t));
}
return readList;
Need some advice on how to convert it. Thanks a lot.