Google Guava
-
Core Java
Guava Preconditions Class
Anyone who’s written much Java has probably written methods that begin with conditionals that verify either the provided parameters or…
Read More » -
Core Java
Guava Stopwatch
Guava‘s Stopwatch is another Guava class new to Guava Release 10 (as is Optional, the subject of another recent post).…
Read More » -
Core Java
Guava Functions & Java 8 Lambdas
I recently read Brian Goetz’s The State of the Lambda and after reading that article I wanted to try using…
Read More » -
Core Java
Google Guava Cache
This Post is a continuation of my series on Google Guava, this time covering Guava Cache. Guava Cache offers more…
Read More » -
Core Java
Google Guava – Futures
This post is a continuation of my series on Google Guava, this time covering Futures. The Futures class is a…
Read More » -
Core Java
Google Guava Concurrency – ListenableFuture
In my last post I covered using the Monitor class from the com.google.common.util.concurrent package in the Guava Library. In this…
Read More » -
Core Java
Google Guava – Synchronization with Monitor
The Google Guava project is a collection of libraries that every Java developer should become familiar with. The Guava libraries…
Read More » -
Core Java
Guava’s Strings Class
In the post Checking for Null or Empty or White Space Only String in Java, I demonstrated common approaches in…
Read More » -
Enterprise Java
Mocking with JodaTime’s DateTime and Google Guava’s Supplier
Introduction If you’re a seasoned unit tester, you’ve learned to take note when you see any code working with time,…
Read More »