Java 8 streams – How to remove duplicate elements from array
Let’s see how we can remove duplicate elements from array using.
Let’s see how we can remove duplicate elements from array using.
Let’s see what happens when async calls exception is raised and how we can handle this situation.
Java8 understanding the LocalDateTime
Let’s see how we can paralellize java application. Suppose we have asked to develop application where given the libraries list we need to calculate the number of books in each library. Suppose calculation is an expensive operation. The first thing that comes to our mind is to do this by streams.
Let’s see how we can randomly generate numbers from the range in java
Whats the difference between reduceByKey and CombineByKey in Spark
Whats the difference between groupByKey vs ReduceByKey in Spark
Use combine by key and use map transformation to find Max value for all the keys in Spark
Group by key and in the Map Partition apply some custom logic on the aggregated values of the key in Spark
For a given key collect all the values, which can be later use for applying some custom logic like ( average , max , min, top n, expression evaluation) in Spark