-
Core Java
Java 8 LocalDateTime Example
Hello readers, Java provides a new Date and Time API in Java8. This tutorial demonstrates how to use the LocalDateTime…
Read More » -
Core Java
Java 8 Parallel Streams Example
Hello readers, Parallel Streams are the greatest addition to Java8 after Lambdas. This tutorial explains the parallel streams concept in…
Read More » -
Core Java
Java 8 Method Reference Example
Hello readers, Java provides a new feature called method reference in Java8. This tutorial explains the method reference concept in…
Read More » -
Core Java
Java 8 Collect vs Reduce Example
Hello readers, this tutorial explains the concept of reducing and collecting in Streams and Collector’s API respectively. 1. Introduction 1.1…
Read More » -
Core Java
Java 8 Comparator Example
Hello readers, this tutorial explains how to use Lambda expressions in order to improve the boilerplate code of the Comparator…
Read More » -
Core Java
Java 8 Consumer and Supplier Example
Hello readers, this tutorial explains the in-built functional interfaces (i.e. Consumer<T> and Supplier<T>) introduced in Java8. 1. Introduction These features…
Read More » -
Core Java
Java 8 Convert a Stream to List Example
Hello readers, this tutorial explains how to convert a Stream to a List with the help of the following examples.…
Read More » -
Core Java
Java 8 Streams: allMatch(), anyMatch(), noneMatch() Example
Hello readers, Java 8 Matching with Streams tutorial explains how to match the elements in a stream using the allMatch(),…
Read More » -
Core Java
Java 8 Predicate Example
Hello readers, this tutorial explains Java 8 predicate example, which has been newly introduced in the java.util.function package. This package…
Read More » -
Core Java
Java UUID Generator Example
Hello readers, in this tutorial, we are generating the UUID using the Java and Java UUID Generator API. 1. Introduction…
Read More »