Posts related to tag: Stream API


Java 8 Stream filter() Method Example

filter() method introduced in the Stream interface of Java 8 version under the package java.util.stream. filter() method is an Intermediate […] Continue reading »

Java 8 Stream API allMatch(), anyMatch() and noneMatch() method Example

On this page, we will learn about Java 8 Stream API allMatch(), anyMatch() and noneMatch() method with an example. allMatch(), […] Continue reading »

Capitalize the first letter of each word in a String using Java

On this page, we will learn how to capitalize the first letter of each word in a String using Java. […] Continue reading »

Java 8- Find the Average of List of Integers

In Java 8, the average() method of the DoubleStream interface calculate the average of the list of integers. 1. Stream […] Continue reading »