Searches for the public method with the specified name.
搜寻具有指定名称的公用方法。
Create a public method to be called later by a client program.
创建一个稍后将会被客户端程序所访问的公共方法。
Ruby class initialize (constructor) is private method or public method?
宝石类初始化(构造函数)是私人或公共方法方法?
In general, there should be a unit test for every public method of your class.
一般而言,类的每个公共方法都应有一个单元测试。
The second is a public method that writes that timestamp using Debug.WriteLine.
第二部分是一个公共函数,用来实现用"Debug.WriteLine"来输出timestamp的值。
You can also delegate the behavior to a public method on the aspect if you choose.
如果愿意的话,还可以将行为委派给方面的公共方法。
Until eventually 1782 the public method in advance of they set down the line.
直到1782年最终的方法,供市民预览他们定下的路线。
The only public method available to test returns void, so how will you verify its correct functionality?
惟一可用于测试的public方法返回的是 void, 那么,您怎么能够验证其功能的正确性呢?
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.
模型代码需要能够从一个已知的位置装载数据,并提供一个公共方法用于提供那些数据。
Public method is the way to take advantage of patent and security protection method is the way to protect commercial security.
公开的方式即是采用专利保护及著作权保护的方法,保密的方式即是采用商业保密的方法。
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)。
In Listing 17, I'm specifying that any public method called get in any instance of org.runtimemonitoring.spring.DAO should be targeted.
在清单17中,我指定org . runtimemonitoring . spring . DAO的任何实例中的任何名为get的公共方法都应被作为目标。
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方法以供调用。
To protect exclusive technology commercial information, the owner could either select partial of public method or security protection method.
对独有商业技术信息的保护,信息持有人可以选择或综合采用公开和保密两种方式。
Rather than using programmatic transactions within the same method, you can move the update operations to another public method within the call stack.
不用在相同的方法中使用编程事务,而是将更新操作移动到调用栈的另一个公共方法中。
Every public method on an EJB defines a transactional boundary between the EJB container and the EJB client, as specified in the deployment descriptor.
EJB上的每个公共方法都定义了ejb容器和EJB客户端之间的事务边界,并在部署描述符指定该边界。
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.
对于某个公共方法来说,我可能会觉得它的名称没有很好的描述其完成的任务,也就是说更换一个名字或许能更清楚的表达它的功能。
Using a dispatcher queue to execute the code in parallel with the caller and then an OS event to block a public method that waits for the result (assuming a synchronous future pattern).
使用一个dispatcherqueue来并行的执行调用者和被调用的代码,然后一个操作系统事件会阻塞一个等待结果的公共方法假定一个同步未来模式assuming a synchronous future pattern,看不懂,再汗一个-_- !
This leaves us with other method of dependency injection, called setting injection, which involves creating a public method inside the object for the dependencies that need injection.
这就给我们留下其他的方法进行依赖注入,称为设置注入,包含在需要注入依赖的对象里创建一个公共方法。
However, if one public update method invokes another, the transaction owner may not have control of the rollback logic in some circumstances.
然而,如果其中一个公共更新方法调用了另一个,那么事务所有者在某些情况下可能无法控制回滚逻辑。
We were on a project where the client insisted on Javadoc comments for every public class and method.
我们曾经做一个项目:客户坚持要为每一个公用类和方法写注释。
Because of interservice communication, one public API-layer update method can invoke another public API-layer update method.
由于执行服务之间的通信,一个公共api层更新方法可以调用另一个公共api层更新方法。
One way to handle this is to provide a public static initialize method that throws a checked exception when initialization fails.
处理这个问题的一种方法是提供一个公共静态initialize方法,初始化失败时该方法将抛出一个检查到的异常。
You add these annotations as needed to any public, parameterless method that returns void to implement reactions to life-cycle events.
可以根据需要将这些注解添加到适当的方法上,从而实现对生命周期事件的响应;只要求这些方法是公共方法,没有参数并返回void。
The agent JAR file USES a special manifest attribute to specify the actual agent class, which must define a method public static void premain (String options, Instrumentation inst).
代理JAR文件使用一个特殊的清单属性来指定实际的代理类,这必须定义一个方法:publicstaticvoid premain (Stringoptions,Instrumentation inst)。
Remove public, private, or protected if found in the method signature.
如果在方法特征符中找到public、private或protected,就删除它们。
Remove public, private, or protected if found in the method signature.
如果在方法特征符中找到public、private或protected,就删除它们。
应用推荐