• 这种情况返回函数对象就是一个闭包其中封装了一些日志代码最初函数调用需要数据

    In this case the returned function object is a closure which encapsulates some logging code and the data needed to call the original function.

    youdao

  • 默认情况它们传递的,意味着如果更新传递到闭包函数定义值,则更新外部值。

    By default, they are passed by value, meaning that if we would update the value passed within the closure function definition, it would not update the outside value.

    youdao

  • 真正重要部分迭代器闭包一两显示出了它们威力

    The real knockout is the next part, where the one-two punches of iterators and closures shows their power.

    youdao

  • 但是需要逻辑封装到自己范围内情况闭包十分有用。

    Closures, however, can be useful in any context where we need to encapsulate logic inside its own scope.

    youdao

  • 这种情况使用与在外部使用闭包实现目的相同范围内绑定的特定函数

    Using closures serves the same purpose in this situation as it would outside of a class: to contain a specific function to be bound within a small scope.

    youdao

  • 回想一如果用户指定一个listshow这样操作的话,index闭包就是通往控制器入口

    Recall that the index closure is the entry point into the controller if the user doesn't specify a custom action like list or show.

    youdao

  • 在结束之前我们来看Groovy闭包一个附加用途

    Before we wrap up, let's look at one additional use of Groovy closures.

    youdao

  • 默认情况服务并不UR l相关联但是可以轻易地控制器创建一个闭包使这些服务可以通过Web找到

    Services aren't associated with an URL by default, but you can easily create a closure in a controller to make them Web addressable.

    youdao

  • 然后这些上面讨论这些情形显得有趣某个内嵌函数暴露在所被定义的作用域外时。

    These closures are only interesting, however, in the case discussed above: when a nested function is exported outside the scope in which it is defined.

    youdao

  • 概率收敛意义过程闭包也是椭球等高过程。

    Under the meaning of convergence in probability the closure of this process is also the process of ellipsoidal equal height.

    youdao

  • 概率收敛意义过程闭包也是椭球等高过程。

    Under the meaning of convergence in probability the closure of this process is also the process of ellipsoidal equal height.

    youdao

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

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

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