Learn different approaches for pretty-printing maps in Java.
Also find me here:
Baeldung Author
Mateusz Szablak
Application Developer - Java/Spring/Oracle/Microservices as a prior backend technology stack. Crossover knowledge of different programming languages and additional frameworks. Solid theoretical background. Interested in algorithms, problem-solving, and design patterns usage. Author of technology guides and articles. Job experience - involved in maintaining and developing new features in big-industry projects (telco & banking). After work hours - gaming passionate - playing, also developing (mainly Android) and 3D modeling/graphics.
Here's what I've written (so far):
Baeldung on Java
- All
- Java IO (4)
- Testing (2)
- Java Map (2)
- Spring Web (1)
- Spring Data (1)
- Java String (1)
- Java Numbers (1)
- Java Dates (1)
- JPA (1)
- HTTP Client-Side (1)
- DevOps (1)
- Core Java (1)
Time Conversions Using TimeUnit
Filed under Java Dates
We look at how to use TimeUnit to convert durations between units and avoid creating our own hard-to-read math code.
Creating a Test Suite With JUnit
Filed under Testing
Learn two different ways for creating test suites with JUnit.
TRUNCATE TABLE in Spring Data JPA
Filed under Spring Data
A quick and practical guide to truncating table in Spring Data JPA.
SpringRunner vs MockitoJUnitRunner
Filed under Testing
Learn the key differences between SpringRunner and MockitoJUnitRunner and understand their purpose.
Constructing a Relative Path From Two Absolute Paths in Java
Filed under Java IO
Learn how to construct a relative path from two absolute paths in Java.
Difference Between == and equals() in Java
Filed under Core Java
Learn about the reference and value equality checks in Java, the differences between them, and understand when to use which check.
Finding the Last Row in an Excel Spreadsheet From Java
Filed under Java IO
Learn how to find the last row in an Excel spreadsheet using Java and Apache POI.
Validate String as Filename in Java
Filed under Java IO
Learn how to validate if a given string has a valid filename for the OS, using Java.
Guide to Java BigInteger
Filed under Java Numbers
Learn about the implementation details of the BigInteger class in Java.
Java – Path vs File
Filed under Java IO
Learn about the differences between the File and Path classes in Java.
Set a Timeout in Spring 5 Webflux WebClient
Filed under HTTP Client-Side, Spring Web
Learn how to configure timeout settings for our WebClient using Spring Webflux.
Converting Java Properties to HashMap
Filed under Java Map
Let’s see how we can convert java.util.Properties into a HashMap
Configuring a Project to Exclude Certain Sonar Violations
Filed under DevOps
For some analyses, SonarQube needs some exclusions added to avoid false positives. We investigate a few ways to configure it.
Defining Indexes in JPA
Filed under JPA
Learn how to implement and use indexes using JPA.
Java (String) or .toString()?
Filed under Java String
Learn about the differences between String casting and executing the toString() method in Java.
Baeldung on Ops
- All
- Docker (2)
- Git (1)
Mounting a Single File in a Volume Using Docker
Filed under Docker
Learn multiple ways for mounting a single file in a volume using Docker.
Difference Between Expose and Ports in Docker Compose
Filed under Docker
Explore the differences between expose and ports when using Docker Compose.
Git for Beginners: The Definitive Practical Guide
Filed under Git
A step-by-step guide to Git, this article discusses the most commonly used commands. Learn the basics, the Git workflow, branching and even some advanced techniques like modifying your commit history.