Comparing Map.of() and new HashMap() in Java
Discussion of the use of Map.of() and new HashMap() in Java, the difference between them, and the benefits of using Map.of().
315 articles in this category · 2,542,775 views.
RSS feed
A N M Bazlur Rahman
26,549 viewsDiscussion of the use of Map.of() and new HashMap() in Java, the difference between them, and the benefits of using Map.of().

Bo Zhang
7,856 viewsThis is the second article of the series "How Gradle Works". In this article, we'll explain what happens inside the Gradle Daemon JVM.

Frank Delporte
23,617 viewsIn this article, we want to look into some false assumptions and outdated ideas about Java based on early versions.

Denis Magda
17,121 viewsExplore how to best use compact Java Records as Data Transfer Objects (DTOs) for database and API calls in Spring Boot 3 with Hibernate 6.

Frank Delporte
9,472 viewsThe impact of the Just-In-Time (JIT) compiler should not be underestimated to achieve the best performing code during runtime.

Miro Wengner
9,343 viewsThe aim of the article is to introduce my newly published book "Practical Design Pattern for Java Developers".

Jennifer Reif
10,245 viewsIn part 9 of this series, learn how to successfully create an orchestrated microservices system with Docker Compose!

Frank Delporte
8,286 viewsKeeping your Java environment stable requires discerning which updates to install and then installing them appropriately.

Rob Austin
6,851 viewsOne subject that often evokes a lot of debate is which is the best OS to develop a Java application on. This article gives my view!

Hüseyin Akdoğan
15,357 viewsThe Scoped Values API allows us to store and share immutable data for a bounded lifetime, and is included since Java 20 as an incubator API.