• By replacing formal function definitions with anonymous functions, you simplify code.

    通过匿名函数来替换正式函数定义可简化代码

    youdao

  • The value of afterFinish is an anonymous function that is invoked when the effect is done.

    afterFinish一个匿名函数效果完成调用。

    youdao

  • Notice that the map you pass to the extend function maps from keywords to anonymous functions.

    注意传递extend函数映射关键字映射到匿名函数

    youdao

  • This expression is actually the body of an "anonymous function", called a function literal in Scala.

    这个表达式实际上一个匿名函数函数Scala中称为字面函数。

    youdao

  • Curious readers will be wondering what makes a functor different from an anonymous function or closure.

    好奇读者是什么使仿函数不同匿名函数闭包呢?

    youdao

  • In this example, you use simple HTML tags to pull in icon images and jQuery to attach an anonymous function to that image.

    中,使用简单HTML标记图标图像使用jQuery一个匿名函数追加图像。

    youdao

  • It builds an Erlang expression in abstract form and returns an anonymous function which can dynamically evaluate it later.

    构造抽象形式Erlang表达式返回一个匿名函数,让它以后再动态地求解

    youdao

  • An anonymous function is defined within the context of another function, usually by assigning it to a delegate variable.

    匿名函数通常通过分配代理变量,来在其他函数上下文中定义

    youdao

  • If defining even a single property is too much, you can define and invoke an anonymous function in a single expression.

    如果觉得定义属性很麻烦可以一个表达式中,直接定义执行一个匿名函数

    youdao

  • In this case, when any client sends data to server, this anonymous function is called and the data is passed into the function.

    这种情况下任意客户端发送数据服务器时,就会调用这个匿名函数将数据传入函数中。

    youdao

  • Unlike XAML, you have the option of either passing in a function or defining the converter inline as an anonymous function.

    XAML不同是,可以函数作为参数传入,也可以通过一个内联的匿名函数来定义转换器

    youdao

  • The workaround is to encapsulate your variables in an anonymous function and call that function immediately after you define it.

    解决办法变量放在一个匿名函数内部,定义之后立即调用它。

    youdao

  • It is important to notice that you cannot easily unsubscribe from an event if you used an anonymous function to subscribe to it.

    注意如果使用匿名函式来订阅事件,则无法轻易取消订阅该事件,这一点非常重要。

    youdao

  • The anonymous function is now named, providing most profilers with something meaningful to display along with the profile results.

    匿名函数现在被命名了,使大多数分析器分析结果显示有意义的内容。

    youdao

  • A Groovy Closure is an anonymous function that can access its enclosing scope, can be called repeatedly at will, and be passed around as it were data.

    Groovy闭包匿名函数访问包含它的范围,可随意被重复调用当作数据到处传递

    youdao

  • In this case, we want to be able to alter the Organizer's pixMap field during the execution of the anonymous function being called by the each function.

    这里,在执行each函数调用匿名函数期间我们希望能够修改organizerpixmap字段

    youdao

  • Since it is implemented as an anonymous function within another function, one could do some preliminary checks and calculations before creating the iterator.

    由于另外函数当中实现了一个匿名函数,人们就能够一些前置检查迭代器创建之后进行计算

    youdao

  • That is, a closure is an anonymous function that, when created, attaches to itself the value of variables from the scope of the code that created the function.

    就是说closure是个匿名函数,在其创建,将来自创建函数代码范围内变量附加它本身

    youdao

  • Once the business logic is obtained in abstract form within this version of to_function, it returns an anonymous function (just like the first version of to_function).

    这个版本to_function取得业务逻辑抽象形式之后,返回匿名函数(与前一个版本的to_function一样)。

    youdao

  • It's an anonymous function that's passed into The Times method and prints a static sentence. This code is tighter and simpler than the alternative with a for loop, shown in Listing 2.

    一个匿名函数times方法被传递函数,函数的结果打印出静态语句

    youdao

  • But don't let the complexity of calculus dissuade you from using lambdas: They are really nothing more than anonymous functions. The following function definition, for example, is a lambda.

    但是不要calculus复杂性妨碍了lambdas的使用它们也只不过匿名函数

    youdao

  • From the examples so far, you can see that an anonymous function is simply a function, without an name, that is evaluated in place and determines its context based on where it is defined.

    到目前为止看到例子中匿名函数只不过是一个没有名称的函数,就地求值基于定义位置来决定上下文

    youdao

  • This function returns an anonymous visitor function that will jump to the next node if the node is not of the correct type.

    函数返回匿名访问者函数,如果节点类型正确,则该函数跳转一个节点。

    youdao

  • Since the body of the callback is trivial here, we've defined the entire function inline as an anonymous subroutine.

    由于这个回调程序很小,所以我们整个函数内嵌一个匿名例程完成。

    youdao

  • The IEnumerable function will generally begin with a "Return Iterator" block, which is a special case of VB's new anonymous, multi-line function syntax.

    IEnumerabl函数通常个“ReturnIterator代码块开始VB匿名函数多行函数语法的一种特例

    youdao

  • If a function literal is anonymous, there should be one space between the word function and the left parenthesis.

    如果函数匿名函数,则function括号之间应有一个空格

    youdao

  • In most cases, you will need a dedicated IP address for Anonymous FTP to function.

    大多数情况下需要一个专用IP地址匿名ftp功能

    youdao

  • I think that for static functions (or those in an anonymous namespace), the compiler could possibly make the optimization you're talking about, since the function does not have external linkage.

    认为对于静态函数(或者匿名命名空间中的那些),编译器可能做出正在谈论优化因为函数没有外部链接

    youdao

  • Then an anonymous electronic vote system scheme based on this protocol is proposed. This paper provides the design of function modules in detail and a part of programming code is given.

    这个协议基础提出了匿名电子投票系统设计方案,对系统各功能模块进行了详细的设计,编程实现了部分功能

    youdao

  • Then an anonymous electronic vote system scheme based on this protocol is proposed. This paper provides the design of function modules in detail and a part of programming code is given.

    这个协议基础提出了匿名电子投票系统设计方案,对系统各功能模块进行了详细的设计,编程实现了部分功能

    youdao

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

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

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