• 声明静态属性关键static放在可见度修饰符后面,直接位于属性变量前面

    To declare a static property, place the keyword static after the visibility modifier, directly in front of the property variable.

    youdao

  • $onlyOne 之前静态修饰符将此变量关系本身

    The static modifier that precedes $onlyOne ties the variable to the class itself.

    youdao

  • 注释可以添加代码中的修饰,可以用于声明类型声明、构造函数方法字段参数变量

    Annotations are modifiers you can add to your code and apply to package declarations, type declarations, constructors, methods, fields, parameters, and variables.

    youdao

  • 请注意关键字“def在这儿作为一个实例变量修饰使用指明变量属性

    N.B. the keyword "def", used here as an instance variable modifier, indicates that the variables are properties.

    youdao

  • 使用关键字register修饰经常使用的变量告诉编译这个变量经常用到,要求编译器使用非常优先级将此变量分配寄存器中。

    Using register for frequently-used variables: this tells the compiler that the register variable is going to be frequently used, so it should be allocated to a register with a very high priority.

    youdao

  • 这个关键def作为局部变量修饰使用

    In this class the keyword def is being used as a local variable modifier.

    youdao

  • 例如Groovy要求使用分号变量类型访问修饰符也是可选的。

    For example, Groovy doesn't require semicolons, and it makes variable types and access modifiers optional.

    youdao

  • 除非实例变量标注修饰否则他成为瞬时变量

    Unless an instance variable is decorated with an annotation, it will be a transient instance variable.

    youdao

  • 除非实例变量标注修饰否则他成为瞬时变量

    Unless an instance variable is decorated with an annotation, it will be a transient instance variable.

    youdao

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

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

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