• youdao

  • youdao

  • youdao

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

    Now you have insight into the term closure.

    youdao

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

    Now you have insight into the term closure.

    youdao

  • 这些闭包名称反映了它们的含义。

    The names of these closures should speak for themselves.

    youdao

  • 用闭包进行定制会有一些惊人之处。

    Customization with closures can take you in some surprising places.

    youdao

  • 可以使用匿名的内部类来实现闭包。

    Primarily, you can use anonymous inner classes to implement closures.

    youdao

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

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

    youdao

  • 这种闭包也可以包含间接关联路径。

    The closure can include indirect relation paths as well.

    youdao

  • 闭包是函数语言的共有特征之一。

    Closures are one of the common features of functional languages.

    youdao

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

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

    youdao

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

    The second parameter is a function closure.

    youdao

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

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

    youdao

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

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

    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

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

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

    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

  • 闭包有什么特别之处?

    What's so special about closures?

    youdao

  • 闭包是具有闭合作用域的匿名函数。

    Closures are anonymous functions with closed scope.

    youdao

  • 您可以根据需要通过闭包构建自己的抽象概念。

    You can build in your own abstractions as needed, with closures.

    youdao

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

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

    youdao

  • 我们可以通过将闭包定义为静态闭包禁用此行为。

    We can disable this behavior by defining the closure to be static.

    youdao

  • 您说的是闭包吗?

    Did you say closures?

    youdao

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

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

    youdao

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

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

    youdao

  • 这个示例中所使用的生成递归闭包的方法有些冗长。

    The way of making recursive closures used in this example is a bit tedious.

    youdao

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

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

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