List/Grid Tag Archives: Google Guava

java-interview-questions-answers

5 Reasons to use Guava

Guava is an open source library containing many classes for Java and written by Google. It’s a potentially useful source of miscellaneous utility functions and classes that I’m ...
java-interview-questions-answers

Google Guava Cache with regular expression patterns

Quite recently I’ve seen a nice presentation about Google Guava and we came to the conclusion in our project that it could be really interesting to use the its Cache functionallity. ...
hamcrest-logo

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 we initialize those classes through a constructor having dozens of arguments ...
java-interview-questions-answers

Advanced ListenableFuture capabilities

Last time we familiarized ourselves with ListenableFuture. I promised to introduced more advanced techniques, namely transformations and chaining. Let’s start from something straightforward. ...
java-logo

ListenableFuture in Guava

ListenableFuture in Guava is an attempt to define consistent API for Future objects to register completion callbacks. With the ability to add callback when Future completes, we can ...
java-logo

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 used it for was to sort out the comparators for our domain objects. ...
jetbrains-intellijidea-logo

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. To be honest, this is usually only an boilerplate obligation. Thanks ...
java-logo

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 source code out there the answer is ...
java-interview-questions-answers

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 Immutable collection types it offers. If you’ve not seen my previous ...
java-interview-questions-answers

Google Guava Multisets

Continuing this tour of Guava we get to the Multiset. I probably don’t use this as much as Multimaps or Bimaps, but it certainly does have it’s uses. So what’s a Multiset ...
Java Code Geeks and all content copyright © 2010-2014, Exelixis Media Ltd | Terms of Use | Privacy Policy | Contact
All trademarks and registered trademarks appearing on Java Code Geeks are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries.
Java Code Geeks is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.
Do you want to know how to develop your skillset and become a ...
Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you two of our best selling eBooks for FREE!

Get ready to Rock!
You can download the complementary eBooks using the links below:
Close