Hey folks! It’s 2020 now and Java 8 was introduced back in 2014. Yet, I still see many developers struggling with it every day. So, I’m here to help you out. I’ve written a series of blog posts to guide you in understanding Java 8, transitioning from Java 7, or just refreshing your concepts. I […]
Category: Java
Java 8 Aggregate Operations: A Comprehensive Guide
We use Collections not just to store objects but also to retrieve, remove and update those objects. Aggregate operations are used to perform those actions using lambda expressions. We’re going to use lambda expressions throughout this article and if you want a refresher on those I suggest you to read lambda expressions in java 8 […]
Mastering Method References in Java 8
In certain scenarios a lambda expression does nothing but call an existing method of a class. In those cases, it’s better to use the existing method by name and we can do that by using method references. We’re going to use lambda expressions throughout this article and if you want a refresher on those I […]
Exploring the Benefits of Asynchronous Programming in Java 8
Asynchronous programming refers to the occurrence of events that are independent of the main program flow and ways to deal with such events. In this article we are going to look into new ways of processing data asynchronously using CompletableFuture class. CompletableFuture implements Future and CompletionStage classes. public class CompletableFuture<T> extends Object implements Future<T>, CompletionStage<T> […]
Mastering Lambda Expressions in Java 8
Lambda expressions were introduced in Java 8. A java lambda expression is basically a function which can be created without belonging to any class. In this post we’re going to look what are lambda expressions and how to use it. This is going to be a hands-on article and all the java code in this […]