Tag: java8

parallel stream

Parallel Streams Java Challenge

Using streams concurrently with the parallel method is a good idea to optimize performance. It’s not always that we can use the parallel method, for example, when we depend on the order of logic execution. However, when we can process the...

jedi lambda join challenge

Jedi Lambda Join Java Challenge

There are many concepts involved in Java Challenge! In essence, we will explore lambdas and the Function interface the most. However, we also have static methods introduced in Java 8 the private method in interfaces introduced in Java 9. In the...

method-reference-lambda

Method Reference VS Lambda Java Challenge

Do you know what are the differences 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...