Functional Interfaces in Java – Functions
In this post, we will learn about the functional interface in Java for functions present as part of the java.util.function namespace.
In this post, we will learn about the functional interface in Java for functions present as part of the java.util.function namespace.
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 Java 8 LongStream is a sequence of primitive long-valued elements and is a long primitive specialization of Stream.
Java 8 StringJoiner class can be used to build a sequence of characters that are separated by a configured delimiter, prefix and a suffix.
The Java 8 Streams has findFirst and findAny methods which will return the first element and an arbitrary element from a stream respectively.
A Function is primarily used along with the map operation on a Java stream. In this post, we will learn about Function chaining in Java 8.
We have used a Predicate in a Java stream. This post covers the methods in Predicate class which allow us to do Predicate chaining in Java 8.
Java 8 added three Summary Statistics classes viz., IntSummaryStatistics LongSummaryStatistics and DoubleSummaryStatistics used to collect statistics.
This post covers the default method resolution rules. These will be used when a class inherits more than one method with the same signature.