Bbp_blocked

Govind Gupta

Currently working as Senior Associate Technology Level-2 in Publicis Sapient, Gurugram. Good with Core java, Spring, Spring Boot, Hibernate, JPA, REST APIs, Relational and NoSQL Databases, Data Structures and Algorithms, Microservices, Kafka messaging, etc.

LinkedIn: https://in.linkedin.com/in/govind-gupta-b446a189

My Articles:

Daemon Threads in Java

Learn what is a daemon thread in Java, how to create a daemon thread, and various methods present for daemon threads in the Thread class.

Java ArrayDeque with Examples

Learn about Java ArrayDeque and its features with practical examples. Learn to use it as Stack and Queue, and the difference from LinkedList.

Java SynchronousQueue with Example

Java SynchronousQueue is a specific type of BlockingQueue with no internal capacity and is primarily used in exchanging data between two threads.

Java Semaphore vs ReentrantLock

Learn what a Semaphore and a Reentrant Lock are along with practical examples. We will also explore some of the main differences between the two and the use cases where we can use these while working in a multithreaded application. 1. What is a Semaphore? A Semaphore is a Thread …

Convert List to Map in Java

Learn to convert a List to a Map in Java using Streams, Commons collections, and Guava including Multimap class for duplicate list items.

Guide to Join Threads in Java

Learn the need and methods to join two threads in Java with examples. Learn to set wait expiration time and avoid thread deadlock conditions.

Java EnumMap with Examples

Learn to create and work with the Java EnumMap in detail, difference between EnumMap and HashMap and the practical usecases for the same.

Java Nested Map with Examples

A nested Map is Map inside another Map. Learn to create a nested HashMap and add, remove and iterate over the elements with examples.

Thread Priority in Java

In this post, we are going to discuss thread priorities in detail and the different types of thread priorities in Java, and how a thread scheduler executes various threads based on their priorities. We will also see how we can set thread priority of a thread and how we can …

Java TreeMap vs HashMap

Learn the differences between TreeMap and HashMap in Java as both implements the Map interface but differ in functionality and performance.

Guide to Java IdentityHashMap

IdentityHashMap implements the Map interface and has almost the same features as HashMap. It uses reference equality on key search operations.

Guide to Java WeakHashMap

Learn about the Java WeakHashMap, strong & weak references with examples. Also, learn the differences between WeakHashMap and HashMap.

About Us

HowToDoInJava provides tutorials and how-to guides on Java and related technologies.

It also shares the best practices, algorithms & solutions and frequently asked interview questions.