I am trying to prime this data so I can read it into a serializable file, however I can't get this to prime correctly. Below is the method and my method call.
posted 4 years ago
You are passing in the ArrayList's to put the data into but the first lines of prime method create new ArrayLists. The data is put into the local ArrayList objects which are lost when the method ends.
You need to put the data into the ArrayLists you are passing into the method.