Category: Java8
New Java 8 Features Overview with explanations
Though I’ve covered many Java 8 new features, I’ve never really given an overview of all the new features as […]
Java 8 Optional Explained with code samples
Java 8 has introduced a bunch of new features. The Optional feature introduced by Java 8 helps in avoiding unexpected […]
Java 8 LocalDateTime class explained with code samples
Just like the LocalDate and LocalTime classes, Java 8 has also introduced the LocalDateTime class. In this article, I will […]
Java 8 LongSupplier explained with code samples
In this blog post, I will be explaining how the Java 8 functional interface LongSupplier works. To know more about […]
Java 8 Stream API Distinct method with code samples
In this article, I will be demonstrating the distinct method provided by Java 8 Stream API. In order to understand […]
How to find the number of years between two Dates
Prior to Java 8, you had to write complex logic to find the number of years between two dates. The […]
Java 8 BinaryOperator Example
In this blog post, I will be explaining how the Java 8 BinaryOperator functional interface works. To know more about […]
Java 8 Map compute methods with code samples
In this article, I will be covering the Java 8 Map compute methods.Java 8 has introduced the Map.compute, Map.computeIfPresent example, […]
Java 8 DoubleFunction Example
In this blog post, I will be explaining how the Java 8 functional interface DoubleFunction works. To know more about […]