Create a public method to be called later by a client program.
创建一个稍后将会被客户端程序所访问的公共方法。
In general, there should be a unit test for every public method of your class.
一般而言,类的每个公共方法都应有一个单元测试。
You can also delegate the behavior to a public method on the aspect if you choose.
如果愿意的话,还可以将行为委派给方面的公共方法。
The only public method available to test returns void, so how will you verify its correct functionality?
惟一可用于测试的public方法返回的是 void, 那么,您怎么能够验证其功能的正确性呢?
Searches for the public method with the specified name.
搜寻具有指定名称的公用方法。
If I can find all the code that calls the method, even though it's a public method, I can change its name.
假如我能找到所有调用该方法的代码,那我就可以也应当改变这个方法的名称,即使它是一个公共方法。
For this example, the facade interface exposes one public method for each command, as illustrated in Listing 6.
对于这个范例,facade接口为每个command公开了一个公共方法,如清单6所示。
The model code needs to be able to load data from a known location and offer a public method to provide that data.
模型代码需要能够从一个已知的位置装载数据,并提供一个公共方法用于提供那些数据。
By entering the URL and clicking the Submit button, you see a page describing each public method of your Web service (see figure 11).
输入url并单击Submit按钮后,您将看到一个页面,描述了Web服务的每个public方法(参见图11)。
Because you are developing an OSGi service and exposing it as a Web service, both services need at least one public method for others to call it.
因为正在开发osgi服务并将它作为Web服务公开,所以这两个服务至少需要一个public方法以供调用。
Rather than using programmatic transactions within the same method, you can move the update operations to another public method within the call stack.
不用在相同的方法中使用编程事务,而是将更新操作移动到调用栈的另一个公共方法中。
It stipulates the public method of Mortgage of Ships together with Bareboat Leasehold, the effect of no registration shall not act against a third party.
该条中将光船租赁权与船舶抵押权一并规定了登记的公示方法,以及未经登记不得对抗第三人的效力。
I may realize the name of a public method isn't very communicative of what it does, that a different method name would communicate more clearly what it does.
对于某个公共方法来说,我可能会觉得它的名称没有很好的描述其完成的任务,也就是说更换一个名字或许能更清楚的表达它的功能。
I may realize the name of a public method isn't very communicative of what it does, that a different method name would communicate more clearly what it does.
对于某个公共方法来说,我可能会觉得它的名称没有很好的描述其完成的任务,也就是说更换一个名字或许能更清楚的表达它的功能。
应用推荐