Working with Sets in Guava – intersection, union, cartesian product, set of ranges and other useful code samples.
I’m a software engineer with a passion for REST, TDD and clean code, Web Security and Data Mining. Baeldung is about all of these and more.
Here's what I've written (so far):
Work with Lists in Guava – clean duplicates and nulls from the list, reverse it and partition it – or convert it to an ImmutableList.
Using the Java Timer and TimerTask to get the most out of it. Schedule a delayed one time task, a daily task or just repeat on an interval. Cool beans.
This week is definitely Spring heavy – lot of solid Spring Boot pieces that show how the framework is maturing. Some interesting JVM articles as well.
How to Write to File and Read from a File using the Guava IO support and utilities.
A week about Agile, building communities and patch operations in Spring – so not a bad week.
How to use the Guava Splitter and Joiner to convert to and from collections and Strings.
How to use the @Scheduled annotation in Spring, to run tasks after a fixed delay, at a fixed rate or according to a cron expression.
Wide array of articles from HTTP/2 moving forward, through using testing as the main driver of your design and to the useful lessons in Microservices.
Filter collections with Predicates and transform them with Functions using the Guava library.
Some solid articles this week, on code coverage (being a useless metric), interesting JSON Patch Spring experiments and a new installment in the Chess TDD Series.
How to use the Guava Cache – from a simple usecase to eviction of elements, refresh and preload of the cache and removal notifications.
Generate Bounded and Unbounded Random Strings using plain Java and the Apache Commons Lang library.
Some interesting discussions this week on microservices and solid testing tactics for working with legacy code.
The many ways to write data to File using Java.
Quick and to the point review this week – a solid JUnit tutorial series, a great article on persistence – specifically on long update operations and one my favorite XKCD series.
The longest weekly review since January – lots of great Java and Spring articles, interesting testing pieces and some good comics.
An interesting Java focused week, as well as a few Spring announcement and a lot of talk around persistence in general and Hibernate in particular.
Learn how to serialize entities using the Gson library.
Spring 4.1 is out this week, along with some cool predictions of the next Java Random and some pragmatic musings about testing and goal setting. A good week all in all.