convert arraylist string to integer using java code example Example: convert arraylist to array int templist.stream().mapToInt(i->i).toArray();