Finding oldest Date from a collection of Date objects
807589Oct 13 2008 — edited Oct 13 2008I am trying to figure out how I might compare a collection of Date objects to each other, to find the oldest date, remove it from the list, and then repeat the process.
I can see that Date.compareTo(Date) lets me compare two objects, but i am not sure how i could apply this to a collection of Dates
Any thoughts?
Regards
Will