• 现在您已经洞悉了闭包这个术语。

    Now you have insight into the term closure.

    youdao

  • 现在您已经洞悉了闭包这个术语。

    Now you have insight into the term closure.

    youdao

  • 第二个参数是一个函数闭包。

    The second parameter is a function closure.

    youdao

  • 我将添加一个返回原始数据的新闭包。

    I'll add a new closure that returns the raw data.

    youdao

  • 它执行三次闭包中的代码。

    It executes the code in the closure three times.

    youdao

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

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

    youdao

  • 最简单的反应是你可能将眼睛闭得更紧些。

    ‘The simplest thing that might happen is you might close your eyes more.’

    youdao

  • 对每个闭包使用标准的groovy语法。

    Use the standard Groovy syntax for a closure.

    youdao

  • 方法或函数可通过传入参数与闭包通信。

    A method or function can communicate with a closure by passing in arguments.

    youdao

  • 要了解闭包,首先需要了解匿名函数。

    To understand closures, one first has to understand anonymous functions.

    youdao

  • 让我们看一看如何在PHP中定义闭包。

    Let's take a look at how to define a closure in PHP.

    youdao

  • 清单4中的闭包类似于您当时创建的闭包。

    The closure in Listing 4 is similar to the one that you created back then.

    youdao

  • 有了闭包,您也可以从外到里进行重构。

    With closures, you can also refactor from the outside in.

    youdao

  • 如果没有指定,函数将在定义它的闭包中运行。

    A function will run in the closure that defines it unless otherwise specified.

    youdao

  • 应当能够访问所有的闭包。

    You should be able to access all of the closures.

    youdao

  • 我将使用Ruby来展示闭包的运行原理。

    I'll use Ruby to show how closures work.

    youdao

  • 注意,稍后您也可以使用闭包和引用变量。

    Note that you can use closures and reference variables later too.

    youdao

  • 这个闭包在在初始页面加载完成后立即执行。

    This closure will be executed as soon as the initial page finishes loading.

    youdao

  • 闭包有什么特别之处?

    What's so special about closures?

    youdao

  • 下一步是定义两个闭包。

    My next step is to define the two closures.

    youdao

  • 海豚睡觉睁一眼闭一眼。

    Dolphins sleep with one eye open.

    youdao

  • 当然,在beans闭包中可以定义多个bean。

    You can of course define multiple beans inside the beans closure.

    youdao

  • 因此出现了闭包并使lambda函数得到增强。

    This is where closures step in and take the lambda functions to the next level.

    youdao

  • 实际上可以使用闭包代替该方法来建立和清除资源。

    You could actually use a closure to do the resource setup and cleanup instead.

    youdao

  • 您说的是闭包吗?

    Did you say closures?

    youdao

  • 闭包还有一项重大的优势:让实施策略变得容易。

    Closures have another huge advantage: they make it easy to enforce policy.

    youdao

  • 首先,向闭包添加一些简单文本,如清单9所示。

    To begin, add some simple text to the closures, as shown in Listing 9.

    youdao

  • 在这个案例中您使用一个匿名内联函数,也称为一个闭包。

    In this case, you used an anonymous inline function, also known as a closure.

    youdao

  • 对函数使用断言通常很简单,而且最好使用闭包定义。

    Predicate functions are often very simple and better off being defined using a closure.

    youdao

  • 对函数使用断言通常很简单,而且最好使用闭包定义。

    Predicate functions are often very simple and better off being defined using a closure.

    youdao

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

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

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