Ordering a list of Objects
Posted in Collections, java, tips on Mar 1st, 2006
This Java tip relates to functionality that has been around for quite a while but a lot of people are still not aware of it.
There are many occasions when you may need to order a list of data objects. Luckily the Java Collections Framework provides utilites to allow objects to be easily ordered.
The Comparable interface [...]