Bbp_blocked

Rahul Maurya

My Articles:

Create and Initialize List with Values in One Line

A Java List can be initialized in various ways. However, initializing a list with multiple elements can be a tedious task. This tutorial will discuss different techniques to initialize a list in one line to make your work easy and reduce boilerplate code. Method List Attributes Java Version List list …

Inverting a Map In Java

This Java tutorial will teach us how to invert a given Map using different techniques. We will learn to invert Maps with unique values and create Multimap when there are duplicate values. 1. What is an Inverted Map? An inverted Map <V, K> is an instance of the original Map<K, …

Get SubMap From Map In Java

A submap is a portion or part of a map between the keys of a specific range. Learn how to get submap from map in Java with different ways.

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.