Google Guava Converter

The Google Guava Converter class represents a function to convert a value of type A to a value of type B and in the reverse direction as well.

July 24, 2023

Google Guava MoreObjects

The Google Guava MoreObjects has helper functions to operate on any Object. It has two static methods viz., firstNonNull and toStringHelper.

June 26, 2023

Apache Commons Lang Diffable

We can use the Apache Commons Lang Diffable to compare two objects of the same class and find the differences among the values of all fields.

May 22, 2023

Google Guava Maps difference

In this post, we will explore finding difference between two maps and how we can use the Google Guava’s Maps#difference method to do it.

April 17, 2023

Apache Commons BidiMap

The Apache Commons BidiMap (a bidirectional map) is an interface using which we can perform a lookup on a map in either direction.

March 13, 2023

Google Guava FluentIterable

In this post, we will learn about the Google Guava FluentIterable class which is a discouraged (but not deprecated) precursor to Java’s Stream library.

February 13, 2023

Sealed Classes and Sealed Interfaces

Sealed classes and sealed interfaces in Java restrict which other classes or interfaces may extend or implement them.

January 30, 2023

Java Stream Reduce

We use the Java Stream’s reduce method to reduce a stream of values to a single result. There are three overloaded Stream#reduce operation.

January 2, 2023

A Complete Guide to Java Stream mapMulti

The Java Stream mapMulti method was added in Java 16. It allows us to replace each element in a Java Stream with one or more elements.

December 22, 2022

Google Guava Table

The Google Guava Table, part of Google Guava Collections, allows us to map a value to two ordered keys, called the row key and the column key.

November 14, 2022