I\'m trying to write a generic max function that takes two Comparables.
So far I have
public static &g
I've written a utility class for this. Maybe you find it useful (the library is Open Source):
http://softsmithy.sourceforge.net/lib/docs/api/org/softsmithy/lib/util/Comparables.html
Homepage:
http://www.softsmithy.org
Download:
http://sourceforge.net/projects/softsmithy/files/softsmithy/
Maven:
org.softsmithy.lib
lib-core
0.1