Blog

Page 848 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for What are the possible values of the Hibernate hbm2ddl.auto configuration and what do they do
hbm2ddlhibernatejava

What are the possible values of the Hibernate hbm2ddl.auto configuration and what do they do

Published on September 2, 2023

# Understanding Hibernate hbm2ddl.auto Configuration Are you perplexed by the possible values of the Hibernate `hbm2ddl.auto` configuration? Do you find it difficult to decide when to use the `update` value and when not to? Well, fear not! In this blog po

Cover Image for How can I initialise a static Map?
collectionsdictionaryidiomsinitializationjava

How can I initialise a static Map?

Published on September 2, 2023

๐Ÿ“๐Ÿ”๐Ÿ“ข How to Initialise a Static Map in Java: Explained with Examples! Are you struggling with how to initialise a static Map in Java? ๐Ÿค” Don't worry! In this blog post, we will explore different methods to solve this problem and provide you with easy so

Cover Image for Static Classes In Java
javastatic-classes

Static Classes In Java

Published on September 2, 2023

# Understanding Static Classes in Java Are you confused about the concept of static classes in Java? Don't worry, you're not alone! Many developers find static classes a bit tricky to grasp at first. In this blog post, we will dive into the world of stati

Cover Image for How to install Java 8 on Mac
installationjavajava-8macos

How to install Java 8 on Mac

Published on September 2, 2023

# How to Install Java 8 on Mac: A Simple Guide for Mavericks Users **Attention all Mac users! Are you having trouble installing Java 8 on your Mac running OS X 9 Mavericks? Don't worry, we've got you covered! In this guide, we'll walk you through the step

Cover Image for Sort ArrayList of custom Objects by property
comparatordatejavasorting

Sort ArrayList of custom Objects by property

Published on September 2, 2023

# Sorting ArrayList of custom Objects by property: A Complete Guide Sorting an ArrayList of custom objects in Java can sometimes be tricky, especially when sorting by specific properties. In this blog post, we will address the common issue of sorting Arra

Cover Image for Iterating through a Collection, avoiding ConcurrentModificationException when removing objects in a loop
collectionsiterationjava

Iterating through a Collection, avoiding ConcurrentModificationException when removing objects in a loop

Published on September 2, 2023

# Iterating through a Collection without getting a ConcurrentModificationException ๐ŸšฉHey there tech enthusiasts! Are you tired of encountering the dreaded `ConcurrentModificationException` when trying to remove objects from a collection while iterating th

Cover Image for Which @NotNull Java annotation should I use?
annotationsidejavanullnullpointerexception

Which @NotNull Java annotation should I use?

Published on September 2, 2023

# ๐Ÿš€ The Best @NotNull Java Annotation for Readable Code and NullPointerException Prevention Do you want your code to be more readable, avoid NullPointerExceptions, and leverage powerful development tools such as IDE code inspection and static code analys

Cover Image for "Must Override a Superclass Method" Errors after importing a project into Eclipse
androideclipsejavaoverridingsuperclass

"Must Override a Superclass Method" Errors after importing a project into Eclipse

Published on September 2, 2023

# ๐Ÿ”ง Fixing 'Must Override a Superclass Method' Errors after importing a project into Eclipse Have you ever experienced the frustration of importing your projects into Eclipse, only to find that almost all of your overridden methods are not formatted corr

Cover Image for How to parse JSON in Java
javajsonparsing

How to parse JSON in Java

Published on September 2, 2023

# How to Parse JSON in Java: A Beginnerโ€™s Guide ๐Ÿ“š Are you wondering how to extract specific values from a JSON text using Java? You're in the right place! Parsing JSON in Java might seem a bit challenging at first, but fear not. In this guide, we'll walk

Blog | Matheus Mello