Filter out objects in ArrayList
<p>I have an ArrayList of Foo objects. Foo's properties are String name and int age.
I don't want more than one of the same name, so when the same name, keep only the greatest age.
I'm looking an idea to get me going in Java.</p>
