Example 2 adds a comment before each method.
范例2在每个方法之前添加了一个注释。
All you do is define a function for each method.
您所做的就是为每个方法定义一个函数。
Create (define) the function to call each method.
创建(定义)调用每个方法的函数。
The logic for each method is now considerably simpler.
每一个方法的逻辑现在相当简单了。
Implement each method in the RecordListener interface.
实现RecordListener接口中的所有方法。
A child class must provide an implementation for each method.
子类必须提供每个方法的实现。
Then through examples, we show you how each method works in detail.
然后我们将通过例子,向您详细说明每种方法的使用方法。
Code examples for each method are included in the Downloads section.
末尾处的下载部分中包含各方法的示例代码。
Introspects your test class and executes each method starting with "test".
内省测试类,并执行每个以“test”开头的方法。
You should break down your methods so that each method does a particular work.
你应当分解你的方法,让每个方法只做某一项工作。
Groovy allows you to use the each method on arrays and Lists interchangeably.
Groovy允许您对数组和List交替使用each方法。
The researchers will compare the number of mosquitoes caught with each method.
研究人员比较每种方法捕获的蚊子数量。
Generally, you will incur 1700-2500 nanoseconds for each method being profiled.
通常,它仅会对每个被测量方法带来1700- 2500纳秒的影响。
You need to check the arguments before proceeding with the logic of each method.
你需要在继续进行每一个程序的逻辑之前检查实参。
As a result, each method often has in a different outcome, as shown in Figure 3.
因此,每种方法经常具有不同的结果,如图3中所示。
But for more-involved String manipulation, the each method is the perfect solution.
但是对于更复杂的String操作,each方法是最佳选择。
Such a setup would mean that each method invocation would be subject to indirection.
这样的设置将意味着,每个方法调用都会遭遇重定向。
The optimizer will compare the cost of each method to determine the best one to use.
优化器将比较每种方法的成本,确定使用最好的一种。
Any class in Ruby that supports the each method (like File) lets you iterate this way.
Ruby中支持each方法的任何类(比如File)都允许以这种方式进行迭代。
We examine the pros and cons of each method and discuss their strengths and weaknesses.
我们将查看每种方法的优缺点,讨论它们的长处与不足。
Third, all these methods are testable now: each method (except populate()) does just one thing.
第三,所有方法现在都是可测试的:每个方法(除了populate())都只做一件事。
Of course you have to enter the specific input parameters for each method and handle any results.
当然需要为每个方法加入具体的输入参数并处理结果。
So, instead of letting the tool create the initial test method, I will write each method as I go.
因此,我将自己书写每一个用到的方法,不让工具生成原始的测试方法。
We now dissect the class and its various methods and explain the roles and anatomy of each method.
下面我们来详细剖析这个类及其各种方法,并给出各方法的角色和具体分析。
These include the transaction types for each method and even the fact that the EJB is a stateless EJB.
这包括每个方法的事务类型,甚至EJB是无状态 EJB 这一事实。
This is part of a large switch statement that enumerates each method; this will become important later.
这是一个列举每种方法的庞大switch语句中的一部分,这些内容待会就变得很重要。
Composed method says that each method should do one and only one thing, and this method violates that rule.
组合方法模式指出,每个方法应该只做一件事,这个方法违反了此规则。
XMLBeans requires you to create an interface and a static implementation for each method in that interface.
XMLBeans要求创建一个接口,并为这个接口中的每个方法提供静态的实现。
To retrieve the scope information, each method of the SessionBeanX class must have the parameter RequestContext.
为了获取范围信息,SessionBean x类的每个方法必须有RequestContext参数。
应用推荐