Commons Collections 3.2 released

Discussions

News: Commons Collections 3.2 released

  1. Commons Collections 3.2 released (4 messages)

    The Commons Collections team is pleased to announce the release of commons-collections-3.2. Commons Collections is a library that builds upon the Java Collection Framework. It provides additional Map, List and Set implementations and utilities. It also builds on the framework by providing new interfaces and implementations. This release fixes numerous bugs, and adds a limited number of enhancements, including: - MultiValueMap - A flexible MultiMap implementation - DefaultedMap - A map that returns a default value when the key is not found - GrowthList - A list where set and add expand the list rather than throw IndexOutOfBoundsException - LoopingListIterator - A never-ending list iterator - CollectionUtils.addIgnoreNull - Adds to the collection if the value being added is not null - isEmpty - Checks maps and collections for empty or null - BlockingBuffer - Add timeout handling to any buffer implementation - ListOrderedMap - additional list-style methods This release is binary and source compatible with 3.1 according to our tests. There are two new deprecations, see the release notes for details. We recommend all users of commons-collections to upgrade to 3.2 to pickup the bug fixes. Message was edited by: joeo at enigmastation dot com Message was edited by: rlynch@techtarget.com

    Threaded Messages (4)

  2. Generics[ Go to top ]

    I didn't see support for generics in the Javadocs. Can anyone confirm that???
  3. Re: Generics[ Go to top ]

    I was waiting for ever for a new version of this since the lack of support for generics in the current version is really troublesome. It's quite a shame that after all this time they still don't seem to support them. In a way I understand the developpers' desire to be compatible with ancient Java releases, but its still a shame nevertheless...
  4. Re: Generics[ Go to top ]

    commons-collections should run on jdk-1.2, so there is no support for generics in the near future. If you want a generics enabled replacement for commons-collections, have a look at http://larvalabs.com/collections/
  5. Generics[ Go to top ]

    Yes, commons collections does not support generics. This is because creating a generics version would require a large amount of work, and completely separate sourcebase of code thus duplicating maintainance (retroweaver isn't good enough, there are some weird corner cases). The main problem with this is the lack of developers to perform this conversion. For the moment, there are other (non-Apache) ports available, eg. http://larvalabs.com/collections/.