Implement each method in the RecordListener interface.
实现RecordListener接口中的所有方法。
Groovy allows you to use the each method on arrays and Lists interchangeably.
Groovy允许您对数组和List交替使用each方法。
Generally, you will incur 1700-2500 nanoseconds for each method being profiled.
通常,它仅会对每个被测量方法带来1700- 2500纳秒的影响。
As a result, each method often has in a different outcome, as shown in Figure 3.
因此,每种方法经常具有不同的结果,如图3中所示。
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.
当然需要为每个方法加入具体的输入参数并处理结果。
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参数。
This will result in output containing both the starting and ending addresses of the compiled code for each method.
这将会导致在输出结果中包含每个方法已编译的代码的起始地址和结束地址。
Define the URIs of the resources, the methods used to manipulate the resources, and the data formats for each method.
定义资源的URIs,用于操作资源的方法,以及每个方法的数据格式。
It is the tree viewer that holds on to them itself and passes them as arguments to each method in the content provider.
持有对这些域对象的引用的是树查看器本身,它把这些域对象作为参数传递给内容提供程序中的各个方法。
In Listing 8, the each method handles the details of iteration and allows the caller to focus on the desired effect.
在清单8中,each方法处理迭代的细节,使调用者能够将注意力集中在想要的效果上。
The test program calls each method repeatedly with a large loop count, averaging the time measurements over several calls.
测试程序重复调用每种方法,使用一个大循环数,从而平均多次调用的时间衡量结果。
In other words, what if all your methods have dozens or hundreds of lines of code, and each method performs numerous tasks?
换句话说,如果您的所有方法都具有几十或几百行代码,并且每个方法执行大量的任务,那么应该怎么做?
The time for the first call to each method is not included in the average, so initialization time isn't a factor in the results.
平均值中不包括每种方法第一次调用的时间,因此初始化时间不是结果中的一个因素。
With this backend type, each method of the UDPDMI contains code to lookup the Web service and invoke an operation on it (via DII).
对于此后端类型,UDPDMI的每个方法均包含用于查找Web服务和对其调用操作(通过DII)的代码。
A handler is created, which ACTS as a message switchboard operator and routes each method call to the appropriate invocation chain.
将创建一个处理程序,它充当一个消息交换台操作程序(switchboard operator)并将每个方法调用传递到相应的调用链。
Thus, you can iterate over a collection quite easily using the each method in conjunction with a code block, as shown in Listing 1.
这样,您可以使用each方法和代码块在集合中轻松迭代,如清单1所示。
DRBD supports a variation on each method that provides a bit more data protection than asynchronous at a slight cost in performance.
DRBD支持每种方法的变体,这些方法比异步模式提供更多的数据保护,代价是性能略有下降。
And since each method is executed in its own transaction, you do not have to be concerned with managing the transactions in the client.
因为每个方法在其自己的事务中执行,所以您不需要关心如何管理客户端事务。
Confidence requires knowing not only that the program as a whole is tested but that each method is tested under all possible conditions.
信心的获得,不仅需要知道测试了程序整体,还要知道每个方法在全部可能情况下都得到测试。
A stateless Facade maintains no internal memory of previous operations, therefore relying on necessary state to be passed in with each method invocation.
无状态的Facade并不包含上一个操作的内部记忆,因此就依赖于每个方法调用传递过来的必需的状态。
Not only do they allow you to easily check which classes and methods are exposed for remoting, you can also test that each method is behaving as expected.
它们不仅允许检查公开了哪个类和方法用于远程,还可以测试每个方法是否像预期的那样工作。
应用推荐