autoboxing
nounEtymology From auto- + boxing.
1
Automatic boxing, the implicit conversion of primitive data types to wrapper objects.
Object-oriented programming
- Autoboxing and unboxing are typically used for collections of primitives. Autoboxing involves the dynamic allocation of memory and initialization of an object for each primitive.2014, Robert Liguori, Patricia Liguori, Java 8 Pocket Guide, O'Reilly, →ISBN, page 28: