Composed method says that each method should do one and only one thing, and this method violates that rule.
组合方法模式指出,每个方法应该只做一件事,这个方法违反了此规则。
The following tip on this method is provided for interested parties but the focus of this document is on method 2 below since method 1 will be a better solution in a future release.
由于在未来的发行版中,方法1将是一个更好的解决方案,所以为对方法1感兴趣的人提供了该方法的下列技巧,但是本文的侧重点却是方法2。
Because of the fairly static nature of a method, static analysis techniques — especially method review — play an essential role in method quality.
由于方法静态的特征,静态分析技术——尤其是方法检查——在方法质量中扮演了一个必须的角色。
If you change the method to pass input values via the method arguments, the method can be used generically.
如果您更改了方法,以通过方法参数传递输入值,那么该方法就可以得到通用的应用了。
Method Bindings selects the "Method" to bind by mapping the Event Method (Native Method) to the Interface method.
方法绑定通过将事件方法(本机方法)映射到接口方法来选择要绑定的“方法”。
The sketch has been reviewed and agreed upon; i.e., each candidate method element will become a Method Element of the Method Definition.
这个概述已经被检查并受到赞同;比例,每个候选方法元素将变成一个方法定义的方法元素。
If you are writing a method book, for instance, the method Web Site is replaced by a method book.
例如,如果您编写一本方法书,那么这个就会被一本方法书取代。
A method definition is a well-formed definition of a method in terms of its method Elements (including their description) and their relationships.
方法定义就是根据它的方法元素(包括它们的描述)和它们之间的关系对方法进行的一个结构良好的定义。
It will first validate method parameters upon a method invocation and then delegate the method call to the implementation class.
它首先验证方法调用的方法参数,然后把方法调用委托给实现类。
A method appears near the top of a method profile for one of two reasons. Either the method is being called too often, or it is doing too much work when it's called.
一个方法出现在方法配置文件顶部的原因有两个:要么该方法被频繁调用,要么它在被调用时执行的工作太多。
If a method has already been added to a class that matches the needs for a binding, that method will be reused rather than adding a new method.
如果一个方法已经添加到符合绑定需要的类中,那么会重用这个方法,而不会添加新方法。
The first method returns the HTML contents without HTML tags, the second method returns the title of the HTML file, and the last method gets the path of the HTML file.
第一个方法返回去除了HTML标记的文本内容,第二个方法返回HTML文件的标题,最后一个方法返回HTML文件的路径。
Once the new method, or part of the method, starts to emerge from the sketch, it is time to launch RMC, in which the method can be more formally and completely defined.
一旦从草图新生新的方法,或者局部的方法,那么就是时候启动R MC了,这样方法可以定义得更正式且更完整。
If a method is 10 lines long and 8 lines of the method were exercised in a test run, then the method has a line coverage of 80%.
如果一个方法有10行代码,其中的8行在测试中被执行,那么这个方法的行覆盖率是80%。
Putting the class name as a prefix to the method name indicates that the method is a class method.
将类名作为方法名的前缀来指示该方法是类的方法。
More interesting code appears in the InterfaceSwitching mix-in: the set_interface method redefines the original (renamed) method for the scope of the block created within the with_interface method.
更加有趣的代码出现在interfaceswitching中:set _ interface方法为在with _ interface方法中创建的代码块的作用域重新定义了原始(重命名的)方法。
In this example, you use the AsyncFacebookRunner.request (...) method, which is a helper wrapper method to make the underlying request method asynchronous by running in its own thread.
在本例中,您使用AsyncFacebookRunner .request(…)方法,这是一个帮助器封装器方法,它通过运行在自己的线程中,使得底层的请求方法是异步的。
Method Invocation Details: Provides statistical data about a selected method, including information about the invoker method and the methods invoked by the selected method.
MethodInvocationDetails:提供有关选择的方法的统计数据,包括有关调用的方法和方法被其它方法调用的信息。
This steps over the highlighted line of code and continues execution at the next line in the same method (or it will continue in the method from which the current method was called).
该操作会越过高亮显示的那行代码,继续执行同一方法中的下一行代码(或者继续执行调用当前方法的那个方法的下一行代码)。
A subclass must implement the invoke method to perform the work of the method using the supplied handler and method arguments.
这个类的子类必须实现invoke方法,该方法使用提供的处理程序和方法参数执行对应方法的工作。
You use the POST method instead of the GET method because URLs of the GET method are logged in the Domino log, and anyone who accesses the log can see the user name and password in plain text.
之所以使用POST方法而不是GET方法,是因为GET方法的URL会被记录到Domino日志中,任何访问日志的用户都能看到您的用户名和口令——而且是明文。
means extend is a class method, meaning one method operates on the whole class, like the new method.
意味着extend是一个类方法,即在整个类上操作的方法,比如new 方法。
One is to invoke the logon method first, and when the method invocation returns true, invoke a method to fetch tasks consequently.
一种解决方案是首先调用登录方法,然后当该方法调用返回true时,调用一个方法来获取相应的任务。
The only other method defined here is the static main method which calls the constructor and then calls an as-yet undefined method called parse .
这里定义的惟一其他方法就是staticmain方法,该方法将在调用构造函数之后再调用迄今还未定义的名为parse的方法。
If you want to develop a data logic method in a CMP bean that USES a stored procedure, you must define this method as an abstract method.
如果用户想利用存储过程在CMPbean中开发数据逻辑方法,必须将该方法定义为抽象方法。
Several other kinds of values can be bound into advice arguments, including method arguments, exceptions thrown by a method, and the target of a method call.
其它几种类型的值可以捆绑到Advice的参数中,包括方法参数、方法抛出的异常以及方法调用的目标。
The method adds the event to the event table and then dynamically defines a method for the event, wiring the new method to the fire method on event.
该方法将事件添加到事件表中,然后为事件动态定义方法,将新方法连接到event上的fire方法。
The new MyAttributeValidator class consists of one constructor method, the inherited validate(…) method, and the createNotNullOrZeroStatus(…)helper method.
新的MyAttributeValidator类由一个构造器方法,一个继承validate(…)
Ben also talked about advanced web security requirements like method level authorization, JSR-250 for defining method security metadata, Spring security method metadata, and domain access control.
Ben还谈到了一些高级web安全需求,例如方法层的授权、定义方法安全元数据的JSR- 250规格、SpringSecurity方法元数据以及领域的访问控制等。
The method attribute must be marked with a <deferred-method> element whose
方法属性必须用 <deferred-method>元素进行标记,该元素的
应用推荐