Tag: streams

streams min max

Streams min max Java Challenge

Streams are really important for every Java developer to master. Some functions such as max and min are also important and that’s what we will explore in the following Java code challenge! After trying out to solve the Java code challenge on...

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...

streams set

Streams Set Distinct Java Challenge

Using streams, and Set Collection Factory methods with Java make code easier to read and maintain. By using those features we can also make it more difficult for bugs to hide. If you can use the latest LTS (Long-term support) Java version in your...