• 声明式信息编译转换命令形式而不是运行每次使用进行转换,这使代码更快

    The declarative information is transformed into an imperative form at compile-time, rather than each time it is used at runtime, resulting in faster code.

    youdao

  • 比如更改——类型信息——编译器用实施编译安全但是生成字节码仍然到处使用强制转换

    Likewise with the generics changes — the generic type information is used by the compiler to enforce compile-time safe usage, but the generated bytecode still USES casts everywhere.

    youdao

  • 装箱需要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).

    youdao

  • 隐含转换处理遗失资料才会成功否则失败并且产生编译执行阶段错误

    Implicit conversions succeed only when the process loses no data; otherwise they fail and generate a compile or run-time error.

    youdao

  • 使用向上转换运算编译会尝试根据上下文推断出转换为的类型

    When you use the upcast operator, the compiler attempts to infer the type you are converting to from the context.

    youdao

  • 相当有用,因为他们提供强制编译时类型检查要求更少数据类型之间显式转换减少装箱拆箱的操作运行类型检查

    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.

    youdao

  • 编译脚本字符串中的每个转义序列都会转换所表示字符

    When a script is compiled, each escape sequence in a string literal is converted into the characters it represents.

    youdao

  • 这种情况下,试图使用其他三种形式强制转换都会导致编译错误

    Using any of the other three forms of cast in this case would result in a compile-time error.

    youdao

  • 转换一个指针编译只是添加合适偏移指针上,进而指向对象实例数据

    When casting a pointer, the compiler simply adds the offset to the correct part of the object's instance data.

    youdao

  • 转换一个指针编译只是添加合适偏移指针上,进而指向对象实例数据

    When casting a pointer, the compiler simply adds the offset to the correct part of the object's instance data.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定