Hi, I am working on a simulation model for fish.
My model has a class called SpawningGround which contains an Arraylist<Fish>. (So in other words a SpawningGround is composed of a lot of Fish)
What I would like to know is the following. What code/classes do I need in order to save as a csv or a txt file the arraylist<Fish> for each one of my spawningGrounds?
(PS: each line of the ArrayList<Fish> represents an individual fish, and each column of the array a proprety of the fish)
Thanks for your help,