
Using the Map.Entry Java Class
1. Overview We often use maps to store a collection of key-value pairs. Then, at some point, we often need to iterate over them. In this […]
1. Overview We often use maps to store a collection of key-value pairs. Then, at some point, we often need to iterate over them. In this […]
1. Overview In this tutorial, we’ll see different ways to implement a mutex in Java. 2. Mutex In a multithreaded application, two or more threads may need to […]
1. Introduction In Java’s if-else statements we can take a certain action when an expression is true, and an alternative when it is false. In this tutorial, we’ll learn […]
1. Introduction The Java assert keyword allows developers to quickly verify certain assumptions or state of a program. In this article, we’ll take a look at how to […]
1. Overview In this tutorial, we’ll cover the basics of setting up a Keycloak server, connecting a Spring Boot application to it, and using it with […]
1. Overview By default, Spring Boot comes with a banner which shows up as soon as the application starts. In this article, we’ll learn how […]