3 ms·
Java ints etc are not boxed, right?
Java ints etc are not boxed, right?
No, but as soon as you want to use anything like standard containers, you need to box them.
"int" is not boxed but "Integer" is. You can't use primitive types like "int" inside generic type arguments so in that case you're forced into using the boxed integer type.