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.
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.
The Google Guava MoreObjects has helper functions to operate on any Object. It has two static methods viz., firstNonNull and toStringHelper.
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.
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.
The Apache Commons BidiMap (a bidirectional map) is an interface using which we can perform a lookup on a map in either direction.
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.
Sealed classes and sealed interfaces in Java restrict which other classes or interfaces may extend or implement them.
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.
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.
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.