Convert an Iterator to a List in Java
In this new entry from Refactorizando, we are going to see how to convert an Iterator to a List in Java, using traditional methods, Streams, and additional libraries such as…
Our team work realy hard to produce quality content on this website and we noticed you have ad-blocking enabled. Advertisements and advertising enable us to continue working and provide high-quality content.
In this new entry from Refactorizando, we are going to see how to convert an Iterator to a List in Java, using traditional methods, Streams, and additional libraries such as…
In this new post, Java Supplier Interface and Factory Pattern, we are going to see and understand a bit better the usage and purpose of Java Supplier. This interface works…
In a world where microservices-oriented architectures are becoming predominant, where different configurations per environment and adherence to the twelve-factor are necessary, the value of having an externalized configuration increases. Therefore,…
You can find many articles that talk about Coroutines in English in Kotlin, but sometimes it is difficult to understand the real differences with threads. That's why in this article…
Since Java 8 appeared a few years ago, along with the introduction of Optional, I have seen many instances of misuse or incorrect use of Optional. In this post, we…
In this new post, we will tackle and demonstrate Reduce in Java Stream with Examples. The Java Stream API provides various functional operations for working with Streams in Java. One…
In this post we are going to see the Strategy Pattern in Java. We can use Strategy Pattern to change behaviors at runtime. What is the Strategy Pattern? The Strategy…
In this post, we are going to see what GraphQL is and where to use it. What is GraphQL? GraphQL is a query language for our APIs that runs on…
The treatment of Java dates and times has been greatly simplified after Java 8, so in this post we are going to see an Introduction to Java 8 Dates. This…
The use of the Spring RestTemplate client is very common in microservices architectures or when calling other applications. In this post, we will see how we can create an interceptor…