Examples of Java Lambda Expression based Comparator implementation to sort collections in ascending or descending order
Author: Amit Phaltankar Tutorials
Thanks for visiting. I hope you found the tutorials and code examples helpful. Please post your comments, questions, and suggestions below.
You can also reach out to me on any of the Social platforms listed here.
Happy Coding !!
Sort HashMap by Value or Key in Java
Learn different techniques of Sorting HashMap by value or by key using Plain Java, Java. Streams API, TreeSet, TreeMap, or ArrayList.
Spring Boot – Spring Data JPA – MS SQL Server Example
Build a Spring Boot RESTFul Web Service using Hibernate, Spring Data JPA, and MS SQL Server (in a docker container) from scratch
Spring Boot – Spring Data JPA – Postgres Example
Guide to build a Spring Boot, Spring Data JPA, Postgres based RESTful Service and to launch Postgres database instance using Docker
Spring Boot – Spring Data JPA – MySQL Example
Hands on Guide to build a Spring Boot – Spring Data JPA and MySQL based RESTFul Web service. Includes setting up Docker based MySQL instance
Merging two Maps in Java
Examples of using Java Streams and Java Maps merge() methods to merge or combine key and value pairs of two Maps in Java