title: Is there a way to create an ArrayList under certain circumstances?
body: <p>I'm sorry if the question is phrased weirdly, but I wasn't quite sure how to fit it into the title space. I'm making a mini messaging program in which users create and log into accounts and send and receive messages. Is there a way to create an ArrayList of the user's messages when they create an account? All of the usernames are in another ArrayList, so maybe it can create one for every addition? I have the passwords and usernames in two different lists linked by position, so that could work too if it's even possible.</p>
  <p>PS - I also need to be able to pull out and match the ArrayList to usernames, but that will come later.</p>
  <p>I can clarify in the comments and show my code if you need it.</p>
  <p>Thanks!</p>