The remaining code in the method is simple.
此方法中的余下代码非常简单。
Listing 2: Using factory methods in the method parameter.
清单2:在方法参数中使用工厂方法。
Remove public, private, or protected if found in the method signature.
如果在方法特征符中找到public、private或protected,就删除它们。
Another limitation is just the basic timescale inherent in the method definition.
另一个局限是在方法定义中的基本时间单位。
Each method starts with a CCN of 1 regardless of how many paths are in the method.
无论一个方法中有多少条路径,它的起始cnn都从1开始。
You do this by replacing the value objects in the method signatures with interfaces.
为此,要把方法签名中的值对象替换成接口。
In the method (shown below), you create a Shell object with the default constructor.
在下面的方法中,您在默认的构造函数中创建Shell对象。
Verification of the system stress test is the reason for this final step in the method.
之所以要执行方法中的这最后一步,是为了对系统压力测试进行核实。
Another example: the user identity is passed as a parameter defined in the method signature.
另一个示例:用户标识作为方法签名中定义的参数进行传递。
The cause of this unexpected behavior is a missing equals sign in the method definition.
造成这样意外结果的原因是在方法定义中缺少的等于号。
Define the JMSType in the Method bindings TAB of the Properties view, as shown in Figure 7.
在Properties视图的Methodbindings选项卡中定义JMSType,如图7所示。
If you are familiar with the data, you can probably take steps in the method to optimize results.
如果您熟悉这种数据,那么也许可以修改一下这个方法,看能不能优化结果。
In the Method column of the product row, select Pass data item value from the drop down box.
在这个产品行的method列中,从下拉框中选择Passdataitemvalue。
The agent parses the arguments in the URL string and reacts based on the value in the method argument.
代理解析url字符串中的参数,并根据方法参数中的值作出反应。
There isn't much going on in the method in Listing 4 except the fact that no exception is thrown by the code.
在清单4的方法中,除了代码不抛出异常的事实外并没有什么太多的事情。
Give the argument passed in the method the scenario name for which the data will be captured in log file.
既然方法中有通过的论断,数据将会从日志文件得到场景名。
The Method Configuration also defines the views that will be presented in the Method Web Site tree browser.
这个方法配置同时还规定了将在方法Web站点树形浏览器中显示的窗口。
In this scenario two elements will appear in the method configuration — a base element and the extended element.
在这个场景中,在方法配置中将出现两个元素——一个基本元素和一个扩展元素。
When you select the corresponding property, you can see the change in the method signature at the top of the page.
当您选择了相应的属性,您就能看到这一页顶端的方法签名的变化。
You can further tailor elements beyond what is defined in the method library by using descriptors to add information.
还可以通过使用描述符来添加信息,从而进一步对元素进行定制,而不限于方法库中定义的内容。
Doing this not only has made the code more testable, but also made it not depend on the global variables in the method.
这样做不仅使代码变得更具可测试性,而且也使它不依赖于方法的全局变量。
The code to try printing the appointment appears in the method that creates the appointment instance and starts the chain.
方法中试图打印appointment的代码创建 appointment实例并开始方法链接。
This is shown in the method above where the original composite is stored before changing it and then restored afterwards.
在上面的方法中显示了这一点,我们在修改composite之前先将原来的composite存储起来,然后在完成修改之后将它恢复。
When supplemented using the contribution pattern, the base element appears in the method configuration with added content.
当补充使用贡献模式的时侯,基本元素在方法配置中伴着被添加的内容浮现出来。
Later on in the method, NSStack can be used to add a new namespace and search through the stack for the prefix given a URI.
稍后在这个方法中,可以用NSStack来添加一个新的名称空间,还可以用它在整个堆栈中搜索给予一个URI的前缀。
The connection to the queue is obtained in the method initMessagingFacility(), according to the following sequence of steps
队列连接是通过initMessagingFacility()方法获得的,需执行以下步骤
Also, because there is only one expression in the method body, we drop the braces and put the entire method definition on one line.
而且,因为在方法的主体中只有一个表达式,我们也省略了括号,把整个方法的定义放到一行中。
This will be flagged during refactoring because it causes a problem in the method being refactored: int does not have a length() method.
在重构的过程中这些问题将会被标出,因为它们会在被重构的方法内部引起问题:int不具有方法length() 。
Finally, we call the Curse method on the binding object to send the remote request, and we get back the result in the method return.
最后,我们调用binding对象的Curse方法来发送远程请求,在方法的返回中获得结果。
If you want to remove the parameter I, because it's unneeded, you could start by removing references to it in the method being refactored.
如果您打算删除不再需要的参数i,那么可以先从要进行重构的方法中删除对它的引用。
应用推荐