title: searching through specific attributes of an arraylist of objects
body: <p>I have an arraylist of objects <code>ArrayList&lt;Tile&gt; list</code> Tile has attributes of <code>new Tile("colour", value)</code> I want to make a search function where I iterate though each <code>Colour</code> attribute of the Tile and each <code>Value</code> attribute within each colour in the arraylist (like a nested for each loop), is there an easy way of doing this?</p>