The Cookbooks are a new type of format for me – these are quick to illustrate how to use a technology by putting forward very code focused snippets and examples.
Since the focus is simplicity and speed, most recipes don’t require any additional explanation other than the code itself.
Finally – I am looking at this as a living document – I’m going to keep adding recipes and examples as I run into them. Feel free to provide more in the comments and I’ll look to incorporate them into each cookbook.
Guava Predicate and Function examples and usage best practices.
Ordering in Guava and how it works with the standard comparators.
Guava Collections and how to best leverage them for practical operations.
Mockito Verify examples, usage and best practices.
Mockito configure Behavior – examples, usage and best practices.
Common Hamcrest matchers helpful when working with Collections and arrays.
4. Apache HttpClient 4
HttpClient 4 examples and best practices.
These cookbooks are all based on the github project. Watch and fork it at will – the project is designed with simplicity in mind, so each recipe is done as a very simple test you can play with to understand the example.