请注意通知就是普通的方法声明。
为方法声明创建一个规则。
首先看一下方法声明。
此处,您只关心那些只有一条语句的方法声明。
Here, you care only about method declarations with a single statement.
这些注释被放在用户定义接口中的方法声明上。
These annotations are placed on method declarations within a user-defined interface.
可以将特性应用于任何方法声明。
抽象方法声明只允许在抽象类。
Abstract method declarations are only permitted in abstract classes.
更改属性或方法声明是否实现接口。
Changing whether a property or method declaration implements an interface.
把方法声明成public。
有两种方法声明JSP页面与其库之间的引用。
There are two ways to declare a reference between a JSP page and its library.
可以从方法声明或方法调用中移除参数。
You can remove parameters from a method declaration or a method call.
然后需要为invoke添加方法声明以便类进行编译。
You then need to add a method declaration for invoke so that the class compiles.
“文件名”仅列出了包含分部方法声明的文件。
File Name lists only the file that contains the partial method declaration.
否则,该属性会影响所有随后的方法声明,因为标记仍然为真。
Otherwise, this attribute will affect all subsequent method declarations because the flag would remain true.
如果我们直接实现Tag接口,那么就需要完成几个方法声明。
If we were to directly implement the Tag interface, we would need to fulfill several method declarations.
这种条件会使每个方法声明许多注释,这种情况通常称为注释地狱。
These circumstances can lead to many annotations declared for every method, a phenomenon often described as annotation hell.
方法声明的返回类型表明sql语句的结果返回什么样的对象格式。
The return type of the method declaration indicates in what object format the results of the SQL statement will be returned.
这个文件提供类型标记,从而使这个接口能用于其它接口的方法声明。
This file provides the type signature so that this interface can be used in method declarations for other interfaces.
在前面的语法中,您可以看到各种形式的方法声明和定义。
In the previous syntax, you can see the various forms of method declarations and definitions.
BPED b表包含补充数据,说明使用查询表方法声明的分类功能。
This table contains the supplemental data to illustrate the sorting capability of the claim with the query table method.
action={string}此方法声明对多个任务实例的责任。
Use this method to claim responsibility for multiple task instances.
请将光标置于方法声明或委托名称中,然后调用“移除参数”。
Position the cursor in the method declaration or delegate name and invoke Remove Parameters.
把方法声明成protected,并把测试用例放在同一个包中。
Make the method protected and put the test case in the same package.
默认情况下,它将进行递归调用。因此,您也可以在任何一个内部类中发现方法声明。
This one makes recursive calls by default; therefore, it will also find method declarations in any inner classes.
但是,如果使用PHPV5 的话,可以将对象类型检查构建到类或方法声明中。
With PHP V5, however, you can build object type checking right into the class or method declaration.
这一行访问ast树,起步于编辑单元(最顶层的节点),并且查询所有的方法声明。
This line visits the AST tree, starting at the compilation unit (the top-most node), and queries for a list of all method declarations.
在AspectJ 中,类型间方法声明看起来就像正常的方法声明,引用的技术也一样。
In AspectJ, an inter-type method declaration looks almost identical to a normal method declaration and is referred to in the same way.
除了以上描述的那些方法声明或定义外,接口定义文件不包含任何其他方法声明或定义。
The interface definition file contains no other method declarations or definitions other than those described above.
如果某些action类提供一个特定的实现,则将此方法声明为受保护,并给它一个默认实现。
If some Action classes will provide a case-specific implementation, declare the method protected and give it a default implementation.
这也是一种好的做法,因为你可以从方法声明中看出调用该方法不需要更新此对象的状态。
It's also good practice, because you can tell from the method signature that calling the method can't alter the object's state.
应用推荐