I have an ArrayList (actually an ArrayList of ArrayLists), each with ints, doubles, and Strings. I would like to write these to a csv file.
It seems that PrintWriter requires the data to be a CharSequence. Alternatively, when I try to use the write() function of BufferedWriter, it requires that I specify the type, e.g. int or String.
Is there a way I can write different types to a csv file? If possible, I would prefer to avoid 3rd-party utilities.