Update: I've moved the list of Google Guava resources to http://www.tfnico.com/presentations/google-guava. This page won't be updated any more, but I'll leave it the way it was.
I recently blogged about the Guava Libraries taking over for Google Collections. I figured I'd add a few more pointers to documentation, as the Guava wiki seem to be a bit empty (feel free to copy in these links).
Update: More resources (I think if there are any more updates, I'll move this into an editable page on tfnico.com).
A four part quite extensive tutorial from Sezin Karli:
Google Guava, the easy parts. A basic tutorial that recently surfaced on DZone:
Old entries:
I recently blogged about the Guava Libraries taking over for Google Collections. I figured I'd add a few more pointers to documentation, as the Guava wiki seem to be a bit empty (feel free to copy in these links).
Update: More resources (I think if there are any more updates, I'll move this into an editable page on tfnico.com).
A four part quite extensive tutorial from Sezin Karli:
Google Guava, the easy parts. A basic tutorial that recently surfaced on DZone:
Old entries:
A collection of short snippets (great mini reference for Google Collections):
Codemunchies' 4 part series on CG and Guava:
And yet another intro, from JayWay:
Creating a fluent interface, improving on GC (advanced):
And if you're curious about the whole rationale behind GC, you can watch the whole video from the creators (including comments from Josh Bloch, who created the java.util collections in the first place):
And of course, my own blog-post with some Guava examples:
Disclaimer: I'm not affiliated with Google in any way. I just think these are some great libraries that every Java project should include in the classpath!
Very good resources thx !
ReplyDeleteHow much better is Guava that Apache Commons? If it's marginal, why bother?
ReplyDeleteAnonymous: Apache Commons is a pretty big umbrella for lots of different things. If you mean Commons Lang, these are the reasons as far as I remember (off the top of my head):
ReplyDelete* Poor generics support (was developed before 1.5, I think)
* No "functional" stuff
* The API's are a bit rusty and old-fashioned.
There is commons-lang 3.0 on its way out the door, but I haven't checked it out yet. Might be a worth adversary to Guava :)