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

    Now you have insight into the term closure.

    youdao

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

    Now you have insight into the term closure.

    youdao

  • 已经知道如何使用现成的闭包

    You've seen how to use closures as a client.

    youdao

  • 括号中的代码叫做代码

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

    youdao

  • 看到非常普遍each

    You'll see the pervasive each closure up close.

    youdao

  • 第二参数一个函数闭包

    The second parameter is a function closure.

    youdao

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

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

    youdao

  • 添加一个返回原始数据闭包

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

    youdao

  • 有了闭包可以到里进行重构

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

    youdao

  • 下面一些常用应用

    Some of the common closure scenarios are.

    youdao

  • 方法函数通过传入参数通信

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

    youdao

  • 应当能够访问所有闭包

    You should be able to access all of the closures.

    youdao

  • 执行闭包中的代码

    It executes the code in the closure three times.

    youdao

  • 我们如何PHP定义

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

    youdao

  • 注意稍后可以使用闭包引用变量

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

    youdao

  • 下一步定义两个闭包

    My next step is to define the two closures.

    youdao

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

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

    youdao

  • 它们可以普通函数一样内省中。

    They can also introspect into a closure just like a normal function can.

    youdao

  • 清单15中的near闭包添加其中

    Add the near closure in Listing 15 to it.

    youdao

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

    Use the standard Groovy syntax for a closure.

    youdao

  • 使用Ruby展示运行原理。

    I'll use Ruby to show how closures work.

    youdao

  • 闭包什么特别

    What's so special about closures?

    youdao

  • 如果没有指定函数定义闭包运行

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

    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

  • 因此出现了使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

  • 定义这个之后,在frame闭包调用

    Once the closure is defined, I call it inside of the frame closure.

    youdao

  • Ruby也可以编写使用自己闭包方法

    Ruby also lets you write methods that use your own closures.

    youdao

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

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

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