Suppose you have a Map or Dictionaries like HashMap or Hashtable, which contains key-value pairs like books and their prices, and you want to delete …
In the last article, I have shown you how to sort a Map in Java 8 by keys and today, I'll teach you how to sort a Map by values using Java 8 fea…
Update: The latest version of Java SE certification is now OCAJP 11 (1Z0-815) and OCPJP 11 (1Z0-816) which is based upon Java 11 version. You can ta…
Hello guys, many of my readers emailed me to write a post about the map and filter function of Java 8 because they found it difficult to understand…
The Functional interface is one of the most important concepts of Java 8 which actually powers lambda expression but many developers don't put e…
If you have been coding in Java 8 then you may know that using method reference in place of lambda expression makes your code more readable, hence it…
Joining multiple String literals or object into one is a common programming requirement and you will often find situations where you need to convert …
In the last article, I have shown how to remove key/value pairs from a map in Java based upon some conditions like remove all entries where values ar…
Hello guys, if you are looking for some free resources, e.g., books, tutorials, and courses to learn and master new features introduced in Java 8 and…
It's been quite some time since the Java 8 was released but Java community is still buzzing with functional programming and lambda expression. Ma…