Google Guava Library

Check out this writeup of the Guava library.  Here’s one brief example of what this library can do for you:

 String[] subdirs = { "usr", "local", "lib" };
 String directory = Joiner.on("/").join(subdirs);

Right.  A lot of boilerplate is wiped away.  Could be a time-saver for the right project.

Diving into the Google Guava library (part 2)

In part one of this blog series I gave an introduction to the excellent Google Collections and Guava libraries and briefly explained how you as a Java developer can benefit from using Guava with Collections to reduce the amount of boilerplate code in your projects.


Advertisements
Published in: on October 29, 2009 at 2:50 pm  Leave a Comment  

The URI to TrackBack this entry is: https://2thyme.wordpress.com/2009/10/29/google-guava-library/trackback/

RSS feed for comments on this post.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: