autoboxing

autoboxing

美  英

  • 网络自动装箱;自动封装;自动装箱机制

例句

String, Note that we use autoboxing to wrap i in an Integer object.

注意了,我们用自动装箱把i放进。

That means no generics, no autoboxing, and no new-style for-each loop.

那意味着没有类属性、没有自动装箱(autoboxing),也没有新样式for-each循环。

If we are using Java 5, autoboxing removes a little of the noise, as we no longer need the primitive wrapper type.

如果我们使用Java5,自动装箱去除了一点困扰,因为我们不再需要原始封装器类型。

Autoboxing is not going to be as efficient as using a collection that holds primitive data types directly, such as the Trove

自动装箱的效率比不上使用直接保存基本数据类型的集合,比如值为