The Google Collections Library is an extension of the Java Collections Framework, and is aimed to make it easier to work with Java collections through many enhancements and additional collection types. The codebase of the version 1.0 of the Google Collections library, which was released last week, will eventually be integrated into the broader Google Guava open-source library.
New collection types in Google Collections includes Multimap, allowing you to associate multiple values with a single key, Multiset, which is like a bag, allowing multiple occurrences of an element in the collection, and BiMap, a map that maintains the uniqueness of both its values and its keys and allows reversal of keys and values.
ImmutableSet is a faster, immutable implementation of HashSet, and there is also an ImmutableSortedSet subclass in the library. MapMaker is a builder for ConcurrrentMaps that provides a fluid interface to specify many features of the created map. These are just a few of the many classes offered by the library.
What do you think of the Google Collections Library?
I think it's great that they've done this (and made it available). The only problem is that they're years too late to save many of us the work of writing these ourselves :-)
Hi, I'm a developer of a happy-collections framework on source-forge (Apache License 2.0). We developed aditional collections-classes, maybe you like our work :-) http://sourceforge.net/projects/happy-guys/files/