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.

June 6, 2021

Java DoubleStream – A Complete Guide

A Java DoubleStream is a sequence of double-valued elements that supports sequential and parallel aggregate operations.

April 5, 2021

Default Methods in Java Map

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.

March 22, 2021

Java 8 LongStream – A Complete Guide

The Java 8 LongStream is a sequence of primitive long-valued elements and is a long primitive specialization of Stream.

December 8, 2020

Java 8 StringJoiner With Examples

Java 8 StringJoiner class can be used to build a sequence of characters that are separated by a configured delimiter, prefix and a suffix.

November 23, 2020

Java 8 Stream – FindFirst and FindAny

The Java 8 Streams has findFirst and findAny methods which will return the first element and an arbitrary element from a stream respectively.

October 26, 2020

Function Chaining in Java

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.

September 29, 2020

Predicate Chaining in Java

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.

September 21, 2020

Summary Statistics in Java 8

Java 8 added three Summary Statistics classes viz., IntSummaryStatistics LongSummaryStatistics and DoubleSummaryStatistics used to collect statistics.

July 20, 2020

Default Method Resolution Rules

This post covers the default method resolution rules. These will be used when a class inherits more than one method with the same signature.

May 25, 2020