Google Collection Library

Recently the Google Collections Library came to my attention. The Google Collections Library is a suite of new collections and collection-related goodness for Java 5.0, brought to you by Google.

Since I’m a frequent user of apaches’ commons-collections library I wondered what the difference is.

From browsing the API and FAQ it seems that:

  • It fully based around Java5 features, which is a big issue of commons-collections
  • Implementations adhere to the contracts specified by the JDK interfaces
  • Almost all implementations are final, according to the FAQ extension should be done through decoration using the ‘forwarding collections’
  • They haven’t done any my favorite ‘LazyXYZ’ implementions yet

From the looks of it I think we will see this nice library being adopted quite fast; I’ll certainly be using it on future Java projects. Maybe I’ll even write some ‘LazyXYZ’ decorators using the ‘forwarding collections’!


1 Response to “Google Collection Library”

  1. 1 LazyList based on the Google Collections Library at log4p

Leave a Reply





About

Welcome to the weblog of Peter Maas. Here you'll find various posts related to stuff I like (like my kids and espresso) and stuff I do (like developing software).

JavaOne 2008 Pictures


nearby hotel Cable Car line pub Stage being build in the nearby park Okke en Rudie Charles Nutter & Guillaume Laforge Acme Anvile at CommunityOne Keynote Scribbled Sun Logo javaone 2008 goodybag alcatraz Greenland Community One Keynote Moscone Center - JavaOne Hotel room golden_gate_warning_sign Rudie Golden Gate Joshua Bloch at JavaOne2008 sea_lion Java + You on a cab
View more photos >

Categories



Meld u aan voor PayPal en begin direct met het accepteren van creditcardbetalingen.