Posts tagged ‘Google Collections’

Google Collections

Rate Google Web Toolkit:
Community:1 Star2 Stars3 Stars4 Stars5 Stars (1 votes)
Loading ... Loading …Maturity:1 Star2 Stars3 Stars4 Stars5 Stars (1 votes)
Loading ... Loading …Documentation:1 Star2 Stars3 Stars4 Stars5 Stars (1 votes)
Loading ... Loading …Resources:1 Star2 Stars3 Stars4 Stars5 Stars (1 votes)
Loading ... Loading … Customization:1 Star2 Stars3 Stars4 Stars5 Stars (1 votes)
Loading ... Loading …Integration:1 Star2 Stars3 Stars4 Stars5 Stars (1 votes)
Loading ... Loading …

Google Collections Library is a light java framework, build in one jar of about 300 kb. It extends Java Collections Framework adding a few classes that everyone needs. Currently only the Alpha version is released and changes of any kind can be made until the 1.0 version is released . In the Google Collection FAQ on Google Code the authors explain what 0.5 Alpha means” “We already use this library extensively in production for services like GMail, Reader, Blogger, Docs & Spreadsheets, AdWords, AdSense and dozens more. We consider it to be pretty safe. However, during the alpha period, we do reserve the right to make changes of any kind to it at any time.”

Google Collection Frameworks introduce 3 new types:

* BiMap. A Map that guarantees unique values, and supports an inverse view.
* Multiset. A Collection that may contain duplicate values like a List, yet has order-independent equality like a Set. Often used to represent a histogram.
* Multimap. Similar to Map, but may contain duplicate keys. Has subtypes SetMultimap and ListMultimap providing more specific behavior.

Licence: Apache License 2.0
Links: Homepage, Download, Javadocs, Sourcecode