Google Guava
-
Enterprise Java
Hamcrest Matchers, Guava Predicate and Builder design pattern
Often, while coding we have to deal with some POJO objects that have dozens of fields in them. Many times…
Read More » -
Enterprise Java
Advanced ListenableFuture capabilities
Last time we familiarized ourselves with ListenableFuture. I promised to introduced more advanced techniques, namely transformations and chaining. Let’s start…
Read More » -
Core Java
ListenableFuture in Guava
ListenableFuture in Guava is an attempt to define consistent API for Future objects to register completion callbacks. With the ability…
Read More » -
Core Java
Using Google Guava’s Ordering API
We’ve been playing a bit more with Google’s Guava library – what a great library! The most recent thing we…
Read More » -
Core Java
IntelliJ IDEA: Generate equals, hashCode and toString with Google Guava
THE PROBLEM In the world of Java, we’re quite often in the need of writing equals, hashCode and toString methods.…
Read More » -
Core Java
Selecting your Collections library
Is this really something you should bother? Is there something fundamentally wrong with java.util.ArrayList and java.util.HashMap? For most of the…
Read More » -
Enterprise Java
Collection creation and Immutability with Google Guava
So, thought I’d take a look at some of the collection creation patterns Guava offers, and also some of the…
Read More » -
Enterprise Java
Google Guava Multisets
Continuing this tour of Guava we get to the Multiset. I probably don’t use this as much as Multimaps or…
Read More » -
Core Java
ANTLR – Semantic Predicates
Parsing simple grammar with antlr is simple. All you have to do is to use regular expressions to describe your…
Read More »