How to create a list of properties for an item? LinkedList, ArrayList, Files?
<p>I am not sure if this is a correct question for stackoverflow but I will try it anyhow.</p>

<p>I am trying to simulate a production system, where several parts enter a system to be operated in different machines. I'm trying to keep things simples, but to move along, I need to create some sort of list that allows me to index properties and values to an "object" like so:</p>

<pre><code> Machine [num][type][avg_time][posx][posy][state]
 Part [num][type][order][state]
</code></pre>

<p>So that I could create some sort of list which would allow me to retrieve a property at any given time, for instance:</p>

<pre><code> Machine [1][a][19][100][100][busy]

 and Machine[posx] would retrieve the saved value for it
</code></pre>

<p>I'm still reading further on ArrayLists, LinkedLists and such but can't seem to figure out the best way to do this. What's the best way to do this, so I can further read on the subject?</p>
