Collectors mapping in Java
Collectors mapping in Java is a static method in the Collectors class. In this post, we will learn about the mapping method in Collectors.
Yearly Archives: 2021
Collectors mapping in Java is a static method in the Collectors class. In this post, we will learn about the mapping method in Collectors.
As a follow up of the Comparator comparing post, here we will learn about the Comparator naturalOrder, reverseOrder and reversed methods.
The Objects class has many useful static utility methods. In this post we will learn about the static utility methods in the Objects class.
In this post, we will learn about the functional interface in Java for functions present as part of the java.util.function namespace.
The OptionalInt, OptionalLong and OptionalDouble in Java are container objects which may contain a int, long and double value respectively.
The StringTokenizer helps to break a string into tokens with a specified delimiter. In this post, we will learn about StringTokenizer in Java
A Java DoubleStream is a sequence of double-valued elements that supports sequential and parallel aggregate operations.
Many JDK interfaces were enhanced with default methods in Java 8. In this post we will learn about the default methods in the Java Map interface.
The Apache Commons Lang Validate class in the Apache Commons Lang library helps in validating arguments to a method (or a constructor)
The Apache Commons Lang library provides utility classes and methods. In the post we will learn about the Apache Commons Lang Range class.