Posts related to tag: Java 8


Spring Boot- Display image from database and classpath

On this page, we are going to learn how to display image from the database and classpath location using Spring […] Continue reading »

Best practices to avoid NullPointerException in Java

In this tutorial, we will discuss the best practices to avoid or handle NullPointerException in Java. NullPointerException generally threw when […] Continue reading »

Check HashSet contains element case insensitive in Java

In this example, we will show you how to check HashSet contains element case insensitive in Java. contains() method of […] Continue reading »

How to find distinct elements in a list in Java

Java 8 introduced distinct() method in Stream interface to find the distinct element in a list. distinct() method returns a stream […] Continue reading »

1 3 4 5