当装箱需要从 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.
应用推荐