Back to Java Users Group Home Print this page

Java Users Group

October 2004 Meeting Information

October 12, 2004
Dynamic Sorting with Java

When sorting items based on a single attribute in a collection, the Comparator interface works extremely well. However, this approach alone fails when there is a need to dynamically sort data on more than one field. An article in the August 2004 edition of the Java Developers Journal explores how dynamic sorting can be accomplished through the use of the Comparator interface along with the Reflection API. There will be a comparison of simple vs. dynamic sorting with the same set of employee data objects.

Meetings are held every second Tuesday of the month at the Scotch Plains Rescue Squad second floor meeting hall starting promptly at 7:30pm. Meetings are open to the public, and visitors are encouraged to join ACGNJ.

SIG Leader Mike Redlich
Phone: (908) 246-0410