filter() method introduced in the Stream interface of Java 8 version under the package java.util.stream. filter() method is an Intermediate […] Continue reading »
On this page, we will learn about Java 8 Stream API allMatch(), anyMatch() and noneMatch() method with an example. allMatch(), […] Continue reading »
On this page, we will learn how to capitalize the first letter of each word in a String using Java. […] Continue reading »
In this short tutorial, you will get an idea of how to capitalize the first letter of a string. In […] Continue reading »
Java 9 introduced static factory method of(...) to create the unmodifiable collection instance for the List, Set, and Map. It […] Continue reading »
In Java, getAvailableCurrencies() is a static method of Currency class that returns all available currencies. Currency class is inside the […] Continue reading »
In Java 8, the average() method of the DoubleStream interface calculate the average of the list of integers. 1. Stream […] Continue reading »
In Java, you can iterate or loop a List object in different ways. In this short example, you will find […] Continue reading »
In Java 8, Stream API’s max method returns the maximum element of this stream according to the provided Comparator and […] Continue reading »
In this short tutorial, we’ll find all the capital letters in the given String using Java. Character.isUpperCase(char ch) returns true […] Continue reading »
QRGen library provides an API to generate the QR Code in a Java application. It is built on the top […] Continue reading »