The Apache Commons ComparatorUtils provides utils for creating and using comparators from org.apache.commons.collections4.comparators package
The Apache Commons Collections SetUtils class has utility methods and decorators for Set and SortedSet instances.
In this post, we will explore all the utility methods and decorators for List instances in the Apache Commons Collections ListUtils class.
We use the Java Stream map (an intermediate operation) to map an element in a stream to a different value (of the same or different type).
In this post, we will learn about using Java Stream min and max methods to find the minimum and the maximum element in a Java Stream.
Using Java Stream sorted operation on a stream will return a stream with the elements of the stream sorted according to their natural order
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.