Archive: 2020/3

0

How to use the parallel stream

1. .parallel() and .sequential()Stream API has the .parallel() function. It offers the parallel attrbute to the stream literally. You can use this function at the mid place and the calculations will b

0

Java 8 Reduce and Collector

1. reduce()reduce() calculation return the value no like any list, array, collection model. Usually It’s called ‘Fold’ Calculation at the Functional Programming. Because The process getting the value

0

Java 8 Stream

1. Why do we use the stream ? You don’t need to think about how to build. It’s like the Query. How do we get the max value before the Java8, We always use the ‘for’ keyword or ‘if’ keyword for gettin