News

What is the contract between equals() and hashcode()? Learn how these methods work together when comparing objects in Java.
This tutorial explains how a Java HashMap works internally and explores the challenges of implementing it, including buckets, collisions and hash codes.
Java 11 is getting long in the tooth, so many developers are moving to the next oldest version that's still supported, Java 17. Here's what's different.
I previously blogged on the Apache Commons ToStringBuilder and discussed how it takes away much of the tedium normally associated with implementing toString methods.