Guava

Optional

useful when you want to force users of an API to check for presence of Null elements.

reference:

http://stackoverflow.com/questions/9561295/whats-the-point-of-guavas-optional-class

http://marxsoftware.blogspot.com/2011/10/guavas-new-optional-class.html

Advertisements

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