
Java 8 – Stream findFirst() v/s findAny() methods
In this article, we will discuss Stream’s findFirst() and findAny() methods in details with examples along with their differences 1. Stream findFirst() method : This Read More
In this article, we will discuss Stream’s findFirst() and findAny() methods in details with examples along with their differences 1. Stream findFirst() method : This Read More
In this article, we will discuss Stream’s allMatch() method in details with examples. Read below methods which are similar to allMatch() method anyMatch() method noneMatch() Read More
In this article, we will discuss Stream’s noneMatch() method in details with examples Read below methods which are similar to noneMatch() method anyMatch() method allMatch() Read More
In this article, we will discuss Stream’s anyMatch() method in details with examples Read below methods which are similar to anyMatch() method allMatch() method noneMatch() Read More
In this article, we will discuss Stream’s peek() method in details with examples 1. Stream peek() method : This Stream method is an intermediate operation Read More
In this article, we will discuss Stream’s skip() and limit() methods in details with examples. Both methods used for different purposes and they complement each Read More
In this article, we will discuss Stream’s min() and max() methods in details with examples 1. Stream min() method : This Stream method is a Read More
In this article, we will discuss Stream’s distinct() method in details with examples 1. Stream distinct() method : This Stream method is an intermediate operation Read More
In this article, we will discuss Stream’s count() method in details with examples 1. Stream count() method : This Stream method is a terminal operation Read More
In this article, we will discuss how to sort list of primitive int, String & Custom Objects in Java 1.8 version. 1. Stream sorted() method Read More
In this article, we will discuss Stream’s forEachOrdered() method which is used to iterate through stream elements in the encounter order, irrespective of whether the Read More
In this article, we will discuss how to remove duplicate element/objects from ArrayList along with various examples Removing duplicates from ArrayList : Using Java 8 Read More
In this article, we will discuss forEach() method which is used to iterate through Collection, Map and Stream in detail with examples forEach() method is Read More
In this article, we will discuss difference between map() and flatMap() methods of Stream API introduced in Java 1.8 version Both these map methods of Read More
In this article, we will discuss Stream flatMap() method in details with examples using Collection and Arrays 1. Stream flatMap() method : This Stream method Read More
In this article, we will discuss Stream map() method in details with different examples 1. Stream map() method : This Stream method is an intermediate Read More
In this article, we will discuss Stream filter() method in details with examples 1. Stream filter() method : This Stream method is an intermediate operation Read More
In this article, we will discuss various ways to create Stream in Java 1.8 version 1. Stream API method : There are few useful methods Read More
In this article, we will discuss Stream API – one of the new feature introduced in Java 1.8 version along with Functional Interface and Lambda Read More
In this article, we will discuss one of the alternatives for Lambda Expression i.e.; Method references and Constructor references Lambda expression basically provides some functionality Read More