Rafael del Nero17 articles
Using Streams and Set Collection Factory methods with Java makes code easier to read and maintain.
- Rafael del Nero
-
Exception Chaos Java Code Quiz
Working correctly with exceptions is crucial to a high-quality application that users enjoy using.
- Rafael del Nero
-
Arrays and Object Reference Java Challenge Code Quiz
Arrays are objects in Java. Variables in Java actually store references to the object, instead of the real object.
When we pass an object reference to a method, we are changing the object that is in the heap of the memory.
- Rafael del Nero
-
Parallel Streams Java Code Quiz
Using streams concurrently with the parallel method is a good idea to optimize performance. However, it’s not always the case that we can use the parallel method, for example, when we depend on the order of logic execution.
- Rafael del Nero
-
Daemon Thread Java Code Quiz
When we are working with Threads, it’s important to know when to use a daemon or a non-daemon Thread.
Do you know if the main Thread is a daemon or not? And do you know what a daemon Thread is?
That’s what you will find out by trying out the following Java Challenge!
- Rafael del Nero
-
Function Calculation Java Challenge
Functional programming is a very powerful paradigm that makes code more concise and easier to understand.
In Java, the “Function” functional interface can be used as a first-class citizen function, meaning that we can pass a function to a method and declare it as a variable, giving the developer a lot of power.
And now it’s time for you now to test your abilities with lambdas and functional interfaces!
- Rafael del Nero
-
Stream Limit Filter Java Challenge
To manipulate data from a collection by using a Java stream is handy and cleaner than the alternatives.
When you learn how to use streams, your Java code will be much better, and knowing how to limit and filter data with streams is crucial for you to do something useful with streams in Java.
- Rafael del Nero
-
Neo Stream Search Java Challenge
Understanding the mechanics of the functional interface Predicate of a Stream is crucial if you want to create something meaningful with streams.
In this challenge, we will explore important key methods when we work with a stream so that it becomes clear for you what they do.
Without further ado, let’s go to the Java Challenge!
- Rafael del Nero
-
Jedi Lambda Join Java Challenge
There are many concepts involved in Java Challenges! In essence, we will continue exploring lambdas and the Function interface the most.
However, we also have static methods introduced in Java 8 and the private method in interfaces introduced in Java 9. In the invocation of the interface methods, we are using anonymous inner classes too!
Are you ready for the next Java Challenge? Less introduction, more action, try out this Java Challenge, and master Java concepts by having fun!
- Rafael del Nero
-
Soprano ofNullable stream Java Challenge
Since Java 9, it’s possible to use Optional with a stream when we need to manipulate values from a List.
In this Java Challenge, we will explore the use of a stream in an Optional!
Are you ready to solve this Java Challenge? It’s time to improve your Java skills with this Soprano ofNullable stream Challenge…
- Rafael del Nero
-
Method Reference VS Lambda Java Challenge
Do you know what the differences are between method references and lambdas?
In this Java Challenge, we will explore how lambdas and method references behave so that you can really understand how they work!
Now that you know the main context, it’s time for the Java Challenge!
It’s time to improve your Java skills with this Method Reference VS Lambda Challenge.
- Rafael del Nero