Java

The Implementation Details of hashCode()

The Implementation Details of hashCode()

A deep dive into the implementation of Java's hashCode() method, from class loading to hash collision handling.

The Real Value of an int Variable Starting with 0 in Java

The Real Value of an int Variable Starting with 0 in Java

In Java, an int literal starting with 0 is interpreted as an octal (base-8) number. This article explains how Java represents octal integers.

Understanding the Java String.intern() Memory Model

Understanding the Java String.intern() Memory Model

Calling string.intern() in Java first looks up the corresponding string in the string constant pool; if it doesn't exist, the string is created in the pool and then returned.

JBoss AS7 Class Loading Mechanism

JBoss AS7 Class Loading Mechanism

An introduction to the JBoss AS7 class loading mechanism, covering implicit module dependencies and deployment processors.

JBoss AS7 Module Introduction

JBoss AS7 Module Introduction

AS7's class loading is based on JBoss Modules. To understand JBoss's class loading mechanism, you first need to understand how JBoss modules work.