ArrayList or Hashmap in Java Text Files : <p>I'm wondering which to use to write my text file's record into it, ArrayList or Hashmap.</p>

<p>Records in my text file looks like this:</p>

<pre><code>1,Alice,34
2,James,12
3,Jim,21
</code></pre>

<p>I'll be doing adding, deleting, editing, searching in future. Which on should I use to store my data in?</p>
