commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26943] - [patch] Class and Package Comparators for ClassUtils
Date Sat, 14 Feb 2004 22:11:48 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26943>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26943

[patch] Class and Package Comparators for ClassUtils





------- Additional Comments From alban.peignier@free.fr  2004-02-14 22:11 -------
To create a TreeMap with uses classes or packages as keys (my use case), the
Comparator instances are needed.

Both methods can be available :

 - CLASS_COMPARATOR and PACKAGE_COMPARATOR

 - int compare(Class, Class), int compare(Package, Package)
     with uses the needed Comparator

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message