当装箱需要从int转换到Integer 时,编译器并不调用new Integer(int),而是生成对 Integer.valueOf(int) 的调用。
When boxing requires conversion from int to Integer, rather than calling new Integer(int), the compiler generates a call to Integer.valueOf(int).
装箱将一个值类型转换为引用类型。
的帮助下,集装箱的转换服务,使用了钢集装箱可用于多种应用。
With the help of container conversion service, used steel shipping container can be used for many applications.
泛型相当有用,因为他们提供强制的编译时类型检查,要求更少的数据类型之间的显式转换,并减少装箱拆箱的操作和运行时类型检查。
Generics are useful because they provide stronger compile-time type checking, require fewer explicit conversions between data types, and reduce the need for boxing operations and run-time type checks.
讨论值类型的隐式装箱转换为装箱的值对象的跟踪句柄的方式。
Discusses how implicit boxing of value types translates to a tracking handle to the boxed value object.
高大的墙体是集装箱之间空间得以转换。
The transition of forces from the tube-box is supported on the powerful existing stone wall.
除了装箱值类型外,无法将引用类型转换为值类型。
With the exception of a boxed value type, you cannot convert a reference type to a value type.
当把一个“数据”从值类型转换成引用类型的时候,就叫做“装箱”,反之叫做“拆箱”。
When the data moves from value types to reference types its termed as 'Boxing' and the vice versa is termed as 'UnBoxing'.
当把一个“数据”从值类型转换成引用类型的时候,就叫做“装箱”,反之叫做“拆箱”。
When the data moves from value types to reference types its termed as 'Boxing' and the vice versa is termed as 'UnBoxing'.
应用推荐