• That code block does nothing but increment the value of the local variable and return it.

    代码事就是增加本地变量返回

    youdao

  • The respond_to method accepts a single code block and passes one instance variable (labeled wants) into the code block.

    respond _ to方法接受单个代码传递一个实例变量(标为wants)代码块。

    youdao

  • Call with continuation gives you a code block, and the continuation (or a saved call stack, with instance variables), which you assign to a variable.

    continuation进行调用使获得一个代码指派给变量continuation(保存的调用堆栈其中实例变量)。

    youdao

  • While no one would ever directly use the idiom in Listing 1, this code is very similar to the case where the lock associated with a synchronized block can be proven to be a thread-local variable.

    虽然没有直接使用清单1中的形式,但是这个代码非常类似情况是:可以证实synchronized关联一个线程本地变量

    youdao

  • puts a In Ruby 1.8, this code prints "42", because the block variable a is actually the same a of the containing scope.

    putsaRuby 1.8中,段代码会打印出42”,因为变量a和所包含域中a就是一个变量。

    youdao

  • I'm using Groovy's syntactic sugar to execute a code block, which is to place a set of parentheses adjacent to the code block's variable.

    使用了Groovy语法(syntactic sugar)执行此代码段,结果放置在代码段变量旁边的圆括号

    youdao

  • The code here USES a local variable diff, which is only defined within this block of code, while later in the constructor a separate variable, fill, is declared at the same level.

    这里代码使用局部变量diff这个局部变量定义代码范围内,之后构造函数中又声明一个相同级别的变量fill

    youdao

  • Some changes, such as renaming a variable to a more fitting name or moving a block of code into a new function, make the code easier to understand.

    某些更改重命名更多调整名称变量移动一个新的函数代码使代码易于理解

    youdao

  • In recursive code, a static object or variable is guaranteed to have the same state in different instances of a block of code.

    递归代码中,静态对象或者变量确保在一个代码不同实例间保持相同状态

    youdao

  • In recursive code, a static object or variable is guaranteed to have the same state in different instances of a block of code.

    递归代码中,静态对象或者变量确保在一个代码不同实例间保持相同状态

    youdao

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

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

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