Platinum Solutions Corporate Website


Commons Collections and Generics

The answer you entered to the math problem is incorrect.

I've made extensive use of Apache Commons Collections over the years. It has a lot of really handy wrappers and utilities for doing list and set manipulation that Java doesn't do out of the box. So, in my current project I am using jdk1.6, generics, and all that good stuff. I was using the LazyList class and got the old List is a raw type. References to generic type List should be parameterized warning from Eclipse. So, I thought to myself: "Oh bother.. I bet it doesn't support generics yet." I did some poking around, and confirmed that. I can fathom what sort of undertaking that would be, so I can certainly see why it's not there yet, given that this is an open source project. There are some implementations by others, such as http://sourceforge.net/projects/collections and http://larvalabs.com/collections/. However, I'm leary to use these because of the level trust I have in the stability of existing code, and the fact that when the commons people do write a port that supports generics, the others will seemingly be made obsolete. Ah well, I guess with every silver lining, there's a cloud :).

Comments

Den (not verified) Wed, 1969-12-31 20:00

as an alternative to commons collections with generics

Post new comment

Please solve the math problem above and type in the result. e.g. for 1+1, type 2.
The content of this field is kept private and will not be shown publicly.
  • Lines and paragraphs break automatically.

More information about formatting options