Archive for the ‘Collections’ Category.

Apache Commons Collections

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

Apache Commons Collection is a set of classes created provide some useful classes and to complete the Java Collections Framework included in the JDK. The Apache Commons Collections doesn’t uses generics and it can be used in Java 1.4 as well.

Commons-Collections seek to build upon the JDK classes by providing new interfaces, implementations and utilities. There are many features, including:

* Bag interface for collections that have a number of copies of each object
* Buffer interface for collections that have a well defined removal order, like FIFOs
* BidiMap interface for maps that can be looked up from value to key as well and key to value
* MapIterator interface to provide simple and quick iteration over maps
Continue reading ‘Apache Commons 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