functor
functor什么意思,functor翻译
基本解释
n.: 函子
网络: 仿函数;仿函式;功能元件
权威解释
函子:
a function or a symbol such as + or ×
英汉解释
【数学】函子;算符
起功能作用的东西
功能元件
词性分析
复数:functors
例句
However, the fact that we can introduce state into a functor is one good reason to use one.
然而,事实上,我们可以引入一函的状态是一个很好的理由使用一个。
This type of object is known as a functor or function object.
这种类型的对象称为functor或者functionobject。
Because these patterns occur so frequently, we"ve developed a class entitled Functor to encapsulate them as static Closures.
因为这些模式发生得如此频繁,所以我们开发了一个叫做Functor的类,把它们封装成staticClosure。
Functor passing in the outcome of the previous evaluation as parameter to this one.
仿函数,然后用前一个计算的输出作为参数计算。
So, I created my own hard coded Functor for this job.
所以,我为这个工作我自己的硬编码函子。
Method uses two constructs provided by the Apache Functor library.
方法使用由ApacheFunctor库提供的两个结构。
Curious readers will be wondering what makes a functor different from an anonymous function or closure.
好奇的读者会想是什么使仿函数不同于匿名函数或闭包呢?
First of all, we need a functor which defines the destination of the debug messages.
首先,我们需要一个函,它定义了调试信息的目标。
we construct the adjoint functor of the free functor.
构造了自由函子的伴随函子。
The discussion from here forward will incorporate examples based on the Apache Commons Functor library.
从这以后的讨论将结合基于ApacheCommonsFunctor库的例子。