Skip to content

Glossary: Data Structures and Algorithms in Java

autoboxing

Also written: boxing

Java's automatic conversion between a primitive like `int` or `char` and its object form `Integer` or `Character`. It lets a `Set<Integer>` hold plain numbers.

Where the book teaches it

Related terms

HashSet