Apache Commons Collections for JDK1.5

11 PM March 13, 2006

I find Apache Commons-Collections quite helpful on occasions. However, being developed pre-JDK1.5, it doesn’t play nice with the newly-generified, standard collection framework in java.util.

Others have had the same thought and it turns out that there are two, independent efforts to port the collections framework to JDK1.5: collection15.sf.net and collections.sf.net.

Bother. Now I have to pick one. As Confucius says, “Man with one watch alway know time. Man with two watch never sure.”

For now, I’m going to use collections.sf.net version, simply because they have a downloadable package, while collection15.sf.net doesn’t seem to.

If anybody out there has experience using either of these packages, I’d love to hear your thoughts. Ditto if you have ideas about the best way to ask the Jakarta Commons people to get an “official” port.

By alang | # | Comments (1)
(Posted to javablogs, Software Development and Java)


At 05:44, 14 Mar 2006 Jed Wesley-Smith wrote:

They are pretty similar, although the CollectionsUtil in collections.sf.net is properly genericised while collection15.sf.net is not. Also, they have interesting differences in their approach to genericising MultiMap. collections.sf.net also appear to have slightly more recent contributions, but neither project has had much activity for a while.


Add Comment

(Not displayed)

(Leave blank line between paragraphs. URLs converted to links. HTML stripped. Indented source code will be formatted with <pre> tags.)

© 2003-2006 Alan Green