• It's written in Groovy, which supports closures via its code-block mechanism.

    这是用Groovy编写的,它通过代码段块机制支持闭包。

    youdao

  • We could define the callback function in the same code block, but with a name.

    我们可以在同一个代码块中定义回调函数,但是使用一个名称。

    youdao

  • The controller can specify a code block for each type the controller expects.

    控制器可以为控制器期望的每个类型指定一个代码块。

    youdao

  • So, you can access the process variables from any code block.

    因此,你可以从任何代码块访问流程变量。

    youdao

  • The next line starts a code block that dictates what happens when each client connects.

    下一行开始一个代码块,规定当每个客户端连接时要做的事情。

    youdao

  • The method takes a parameter, specifying the length of the timeout, and a code block, specifying which content to rebuild when the content expires.

    此方法接受参数,用来指定超时的时长,它还接受一个代码块,用来指定当内容过期时哪些内容需要重建。

    youdao

  • Consult the next section for the code block that sets each frame when the mouse is down.

    参考下一节中的代码块,它会在鼠标按下时设置各帧。

    youdao

  • As with the previous code block, a pattern emerges.

    在以上代码块中,出现了一种模式。

    youdao

  • Note the actions enclosed in { } braces, like a normal code block.

    注意像普通的代码块那样封装在大括号 { }内的动作。

    youdao

  • The method takes a string parameter, enclosed in quotes, and a code block.

    该方法具有一个使用引号括起来的字符串参数和一个代码块。

    youdao

  • The open and close brackets ([and]) mark the beginning and end of the code block, respectively.

    开方括号和闭方括号([和])分别标志代码块的开始和结束。

    youdao

  • Everywhere a match can be found, an action (code block) can be executed.

    每发现一个匹配对象,就会执行一个动作(代码块)。

    youdao

  • The configuration portion is the final code block in Listing 6.

    配置内容包含在清单6中的最后一个代码块。

    youdao

  • Think of a closure as a code block that you can use as an argument, with special scoping rules.

    闭包可被视作一个遵循特别作用域规则且可以用作参数的代码块。

    youdao

  • In cases where synchronization is necessary, the synchronized code block should be minimized.

    在有必要进行同步的场合下,应该尽量缩小同步代码块。

    youdao

  • In this example, the code block is iterated until the loop is broken through the condition.

    在此示例中,代码块迭代,直至循环根据条件而中断。

    youdao

  • This synchronized code block acquires the lock associated with the customer class object before it executes.

    同步的代码块在执行之前需要与客户类对象相关的锁。

    youdao

  • Comments in the code block above indicate the points at which these actions are performed.

    代码块上的注释指明了在哪里这些操作会被执行。

    youdao

  • The ampersand identifies the parameter as the holder of a code block.

    该符号将参数识别为代码块的持有者。

    youdao

  • The longer a synchronized code block requires for execution, the longer other threads wait to enter that block.

    同步代码块所需的执行时间越长,其他线程等待进入该代码块的时间就越长。

    youdao

  • Code block: it allows you to format text as code blocks. Simple select the text and format it by clicking the "code block" ToolBar button.

    代码块:这个编辑器允许你把文本格式化为代码块,只要简单地选中文本,然后点击“代码块”按钮来进行格式化即可。

    youdao

  • At some point, you're going to have to face that massive code block and call it your own.

    随后的某一时刻,您必须面对大量代码块并将它们搞定。

    youdao

  • The code between brackets is called a closure, or code block.

    括号中的代码叫做闭包或代码块。

    youdao

  • I emit an error message and replace the return value with 0, instead (remember: every inline code block returns an object).

    我发出错误信息,将返回值替换为0(请记住:每个内联代码块都返回一个对象)。

    youdao

  • There will be an else code block that will follow this with the initial form code in it.

    还有其他代码块在其中跟随初始表单代码。

    youdao

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

    代码段做的事就是增加本地变量的值并返回。

    youdao

  • You pass the before method an optional symbol and a code block.

    您向before方法传递一个可选的标志和一个代码块。

    youdao

  • The first extension that Ruby adds to the simple code block is an argument list.

    Ruby添加到这个简单代码块的第一个扩展是一个参数列表。

    youdao

  • In Listing 6, I create a composite code block that composes two functions.

    在清单6中,我创建了一个由两个函数组成的composite代码块。

    youdao

  • The additional line exhibits one of my favorite features of Ruby, the code block.

    附加的行展现出了Ruby中我最喜欢的特性之一,代码块。

    youdao

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

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

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