Which public methods could be declared as private?
哪些公共方法能够被声明为private ?
How can I access the public methods on a module from a private?
我怎么能从一个私人访问一个模块的公共方法?
Classes that contain many public methods tend to also have a lot of imports.
包含许多public方法的类也有许多导入。
By default, the wizard pre-selects all public methods, which is what we want.
在缺省的情况下,向导预先选择了所有的公共方法,这正是我们所需要的。
Only public methods that have no arguments can be annotated as lifecycle methods.
只有不带参数的公共方法能注释为生命周期方法。
Finds the given method through reflection, searching only for public methods.
通过反射查找给定的方法,只搜索公共方法。
The interface class is the one with Public methods that Web service clients can call.
接口类就是具有Public方法的类,Web服务客户机可以调用 Public 方法。
As for the public methods in our BookSearch class, the code for these methods is as follows.
与booksearch类中的公共方法类似,这些方法的代码如下。
Finds the given method through reflection, with an option to search only public methods.
使用只搜寻公用方法的选项,透过反映搜寻指定的方法。
If package access prevents objects from communicating, add more public methods to the classes.
如果包访问不利于对象间的通信,就需要向类中添加更多的公共方法。
The pointcut in the example uses a modifier and wildcard pattern to express "all public methods."
示例中的切入点使用了修饰符(modifier)和通配符(wildcard)模式来表达“所有公共方法”。
In other words, it's the class in the Web service code with public methods that users can access.
换句话说,它就是Web服务代码中带有用户可访问的public方法的类。
The sample service resides in a class named GetUserInfo that includes the following public methods.
示例的服务位于一个名为GetUserInfo的类,它包括以下公有方法。
Learn how to construct Web services that protect both private and public methods from Web access.
学习如何构建Web服务,禁止对私有和公共方法进行Web访问?
Only the public methods included in the application architecture's API layer contain transaction logic.
只有包含在应用程序架构的api层中的公共方法包含事务逻辑。
Obviously, any changes to interfaces (even public methods) required extra scrutiny and impact analysis.
显然,任何对接口(甚至是公用方法)的变化要求特别细致的检查和冲突分析。
To do that, we simply remove all of the UI from Listing 3 and just keep those public methods at the top.
为此,只需删除清单3中的所有ui并且只在顶部保留那些公共方法。
The four public methods of the ACLPerspective supply callers with actual views and underlying data structures.
ACLPerspective的四种公共方法为调用方提供了实际视图和底层数据结构。
This makes it easier to find all the public methods you need to test. Each test starts life looking like this.
这样能够更容易找到您需要测试的所有公有方法。
Is there any pattern that provide similarities of public static, private and public methods and vars in JS?
有提供公共静态相似性的任何模式,私人和公共的JS方法和变量?
The remote interface, retrieved through the home interface, gives you access to the public methods of the remote object.
remote接口是通过home接口检索得到的,为您提供了对远程对象的公共方法的访问。
Looking first at its public methods, the ACLPerspective offers three flavors of constructors. It can provide a view into.
首先看一下ACLPerspective的公共方法,ACLPerspective提供了三种版本的构造函数。
Property expressions may now reference public methods (with no parameters) in addition to traditional property names.
属性表达式现在应该参考没有参数的公共方法除了传统的属性名外。
For example, say that you want to display all of the public methods of a given class using reflection. Listing 7 shows an example.
例如,假设您希望利用反射显示给定类的所有公共方法。
Finally, the convention requires the methods to be public, so I use the form of lookup that finds public methods callable on the class.
最后,该惯例要求方法为公共,因此我使用查找格式,查找类上可调用的公共方法。
PMD currently defines close to 200 rules with specific ones for method length, class length, unique types, and counting public methods.
PMD目前定义了大约200个规则,其中一些特定规则是针对方法长度、类长度和惟一类型的,还有一些用于计算public方法。
Instead, they are traditional JSF action handlers, which are public methods on managed beans that either have no-arguments or accept an ActionEvent.
相反,它们都是一些传统的JSF动作处理程序,或者是受管bean上的公共方法,这些方法或者无实参或者接受ActionEvent。
While in Break mode, however, you are generally not allowed to change declaration statements, such as public methods, public fields, or class declarations.
但是,在中断模式下一般不允许对声明语句(如公共方法、公共字段或类声明)进行更改。
The only methods in the entire application architecture that start, commit, and roll back a transaction are public methods contained in API layer's domain classes.
整个应用程序架构中用于启动、提交和回滚事务的惟一方法就是api层的域类中包含的公共方法。
The only methods in the entire application architecture that start, commit, and roll back a transaction are public methods contained in API layer's domain classes.
整个应用程序架构中用于启动、提交和回滚事务的惟一方法就是api层的域类中包含的公共方法。
应用推荐