You can invoke a function directly with parentheses (that is, ), via the call method, or via the apply method.
可通过方法call或者方法apply直接调用有括号(也就是)的函数。
Listing 2 doesn't show this technique, but the apply method allows you to perform an action for each selected element.
清单2没有展示这个技术,但是apply方法允许对每个选中元素执行一个操作。
The feasibility of applying fuzzy mathematics method to appraise manuscript quality is studied. How to apply Method No.
探讨应用模糊数学方法评价论文稿质量的可行性。
It's the job of the Animation object to calculate a percent complete message and send it to the apply method of each effect.
Animation对象需要计算完成度消息并将其发送给每种特效的apply方法。
Any class that provides the appropriately-argumented apply method will work when called as long as the arguments line up in number and in type.
任何提供了被适当赋予了参数的apply方法的类,只要这些参数都按数字和类型排列了起来,它们都会在被调用时运行。
By coupling a simple click-to-apply method for interim fixes with an automatic snapshot process, applying these fixes with the appliance is both simple and safe.
通过对临时补丁使用一种简单的“单击并应用”的方法并与一个自动快照流程结合起来,使用设备应用这些补丁将变得简单又安全。
Another handy construct for Scala objects is the apply method. The rules state that every object that has an apply method can be called with the.apply omitted.
Scala对象另一个便利的构造手段就是apply方法,其规则是拥有apply方法的任何对象在调用时可以省略掉。apply 。
As it turns out, the relationship is fairly obvious: the Function1 type in the standard Scala library (meaning a function that takes one parameter) has an apply method on its definition.
事实证明,它们之间的关系相当明显:标准scala库中的Function 1类型(指包含一个参数的函数)在其定义上有一个apply方法。
However, SetValueBindingHandler just defines a variable (whatever var is set to; for example, "vb") to the value binding that was passed. Listing 11 shows the code to override the apply method.
但是,SetValueBindingHandler只为所传递的值绑定定义了一个变量(不论var设置为何值;例如,“vb”)。
And also the conception of initiative buyers and potential buyers, calculate individual information attributes, and apply method of multiattribute utility to efficient intermediary are presented.
并且,首次在移动电子商务中提出了主动用户和潜在用户,考虑个人信息属性,运用加权和法的效用理论进行最有效地仲裁。
In the next column in this series, I will apply the method to the banking domain of account management and describe each step with an example.
这一系列的下一篇文章中,我将应用该方法到帐户管理的空领域中,并且用例子来描述每个步骤。
Like the courses at the Playhouse, Scientology offered actors a method that they could apply to both their lives and their careers.
像剧场提供课程一样,山达基也为演员们提供他们可以同时应用在生活和事业上的一套方法。
Learning to apply the right method in the right way at the right points in the architecture will greatly improve your results.
了解如何在体系结构中的正确点以正确的方式应用正确的方法,这样将极大地提高您的项目成果。
The choice of a development method and the types of resources that you apply to a specific application component should depend partly on the amount of risk that component contributes to the project.
开发方法以及应用于特定应用程序组件的资源类型的选择应该部分依赖于组件带给项目的风险量。
If you have a business case where you'd like to apply this method, please contact the RDS team.
如果您有愿意应用这种方法的商业案例,请联系rds团队。
In order to apply the use case points method to the estimation of software effort estimation, it is important to have a good idea of its basic constituents.
为了对软件性能估算应用用力点方法,对它的基本组成有良好的了解是十分重要的。
You can apply this same easy and straightforward method to many other possible applications, such as customer value estimation, churn prediction, and up- and cross-sell potential.
您可以将这种简单和直接的方法应用到许多其他可能的应用程序上,如客户价值估计、客户流失预测以及潜在的向上和交叉销售。
The substance is from a far simpler world, but the method of analysis is as current as any I would apply today.
虽然所述内容来自于一个远比现在单纯的世界,但是当年的分析方法和我现在采用的任何方法一样,依然风行世界。
In some situations when the ranking difference between alternative decisions is too narrow a good strategy is to refine the scenarios into sub-scenarios and re-apply the method.
当候选方案的得分区别不大时,一个好的策略是把场景深化为子场景,并在子场景上应用该方法。
Apply the new binding results in a new service method (service2), as shown in the Package Explorer view in Figure 46.
应用新建的绑定将导致一个新的服务方法的生成(service2),显示于PackageExplorer视图中,如图46所示。
We believe that IBM Rational Method Composer offers specific guidance to apply those principles in this era of business-driven development.
我们相信IBMRationalMethod Composer提供了在业务驱动开发的年代应用这些原则具体指导。
In case you need to troubleshoot, a good method is to issue the Apply with the following options.
如果需要故障检测(troubleshoot),一个好的方法就是利用以下选项发出Apply命令。
To apply the method, the project manager partitions the effort and then asks the teams responsible for the partitions to provide three estimates.
要应用此方法,项目经理要将工作进行划分,然后让负责各部分的团队提供三个估计。
For example, TransactionProxyFactoryBean is a convenience proxy class that can intercept method calls to an existing class and apply a transaction context to a transaction bean.
例如,TransactionProxyFactoryBean是个方便的代理类,能够拦截对现有类的方法调用,并把事务上下文应用到事务bean。
You'll then set up Spring AOP's TransactionProxyFactoryBean to intercept method calls and declaratively apply a transaction context to the DOA.
然后要设置SpringAOP的TransactionProxyFactoryBean,让它拦截方法调用并声明性地把事务上下文应用到DOA。
Implementation hierarchy works the same way in Scala: We can apply final to the method to prevent a child class from overriding it or to the class declaration itself to prevent derivatives.
实现层次结构在Scala中的效果是相同的:我们可以向方法应用final来防止子类覆盖它,也可应用于类声明本身来防止继承。
Team members can now apply patches submitted as attachments in files using the new method of pasting the patch contents in the Package Explorer in Eclipse Galileo.
现在团队成员能够应用以文件形式作为附件进行提交的补丁,这可通过使用一个新方法实现:在EclipseGalileo 的PackageExplorer 中粘帖补丁内容。
Using your Eclipse views (or perspectives, if you want to go further back), you can apply the method of successive division to derive your components.
通过使用Eclipse视图(如果希望进一步划分,也可以使用透视图),可以应用连续划分方法派生出组件。
Apply the Extract method refactoring to this creation code, creating the factory method (discussed on page 110 of Fowler's book; see the Resources section for more information).
将抽取方法重构应用于这个创建代码,创建工厂方法(在Fowler书籍的第110页中讨论;有关更多信息,请参阅参考资料一节)。
Our goal, in this article, is to see how we can select a technique or method and apply measurement to it in order to better understand the effectiveness of our process.
在这篇文章中我们目的是,为了更好地理解我们的过程,我们怎样选择一个技巧或者方法,并在其中应用一定的度量方法。
应用推荐