The Baeldung logo
  • The Baeldung Logo
  • Start Here
  • Courses ▼▲
    • REST with Spring

      The canonical reference for building a production grade API with Spring

    • Learn Spring Security ▼▲

      THE unique Spring Security education if you’re working with Java today

      • Learn Spring Security Core

        Focus on the Core of Spring Security 5

      • Learn Spring Security OAuth

        Focus on the new OAuth2 stack in Spring Security 5

    • Learn Spring

      From no experience to actually building stuff​

    • Learn Spring Data JPA

      The full guide to persistence with Spring Data JPA

  • Guides ▼▲
    • Persistence

      The Persistence with Spring guides

    • REST

      The guides on building REST APIs with Spring

    • Security

      The Spring Security guides

  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • Baeldung Ebooks

      Discover all of our eBooks

    • About Baeldung

      About Baeldung.

Category upJava

Java Collections » Java Map

Learn about the Java Collections framework that provides interfaces and implementations for Lists, Maps, and Sets. Learn how to work with Java Collections through the guides below.

  • Java List (58)
  • x Java Map (58)
  • Java Set (25)
  • Java Streams (19)
  • Java Array (18)
  • Core Java (9)
  • Java Queue (9)
  • Java String (6)

>> Reading and Writing With a ConcurrentHashMap

>> Difference Between Map.ofEntries() and Map.of()

>> Choosing the Right Java Collection

>> How to Insert a HashMap Into MongoDB With Java?

>> Difference Between Map and MultivaluedMap in Java

>> Implementing a Map with Multiple Keys in Java

>> How to Store HashMap<String, ArrayList> Inside a List

>> Read a File Into a Map in Java

>> How to Create a New Entry in a Map

>> Difference Between Map and HashMap in Java

>> How to Invert a Map in Java

>> Create an Empty Map in Java

>> Java IdentityHashMap Class and Its Use Cases

>> Java HashMap With Different Value Types

>> Nested HashMaps Examples in Java

>> Java Map – keySet() vs. entrySet() vs. values() Methods

>> Update the Value Associated With a Key in a HashMap

>> Using a Custom Class as a Key in a Java HashMap

>> Get a Submap From a HashMap in Java

>> Converting Java Properties to HashMap

>> Optimizing HashMap’s Performance

>> Java HashMap Load Factor

>> Using the Map.Entry Java Class

>> Using a Byte Array as Map Key in Java

>> Java Map With Case-Insensitive Keys

>> Copying a HashMap in Java

>> Map of Primitives in Java

>> Guide to Apache Commons MultiValuedMap

>> Working With Maps Using Streams

>> Map to String Conversion in Java

>> Differences Between HashMap and Hashtable in Java

>> Comparing Two HashMaps in Java

>> Immutable Map Implementations in Java

>> A Guide to EnumMap

>> An Introduction to Synchronized Java Collections

>> Combining Different Types of Collections in Java

>> How to Check If a Key Exists in a Map

>> Merging Two Maps with Java 8

>> Finding the Highest Value in a Java Map

>> Sort a HashMap in Java

>> Get the Key for a Value from a Java Map

>> Time Complexity of Java Collections

>> Initialize a HashMap in Java

>> How to Convert List to Map in Java

>> An Introduction to Java.util.Hashtable Class

>> How to Store Duplicate Keys in a Map in Java?

>> Java TreeMap vs HashMap

>> Apache Commons Collections MapUtils

>> Apache Commons Collections BidiMap

>> Apache Commons Collections OrderedMap

>> Guide to the ConcurrentSkipListMap

>> Guide to WeakHashMap in Java

>> A Guide to ConcurrentMap

>> A Guide to TreeMap in Java

>> A Guide to LinkedHashMap in Java

>> Guide to Guava Multimap

>> The Java HashMap Under the Hood

>> Convert a Map to an Array, List or Set in Java

  • ↑ Back to Top
res – REST with Spring (eBook) (everywhere)
opt-in
Building a REST API with Spring 5?
Download the E-book
The Baeldung logo

Courses

  • All Courses
  • All Bulk Courses
  • All Bulk Team Courses
  • The Courses Platform

Series

  • Java “Back to Basics” Tutorial
  • Jackson JSON Tutorial
  • Apache HttpClient Tutorial
  • REST with Spring Tutorial
  • Spring Persistence Tutorial
  • Security with Spring
  • Spring Reactive Tutorials

About

  • About Baeldung
  • The Full Archive
  • Editors
  • Jobs
  • Our Partners
  • Partner with Baeldung
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo