If that test fails, it delegates to the parent method using the parent keyword.
如果该测试失败,则它使用parent关键字指派给父方法。
An instance of this class has to be created for each time the parent method is called.
当每次调用匿名类的父方法时都必须创建一个该类实例。
Notice that the processTradeUpdates() method updates only the entities that are modified or created in the parent method (or above).
注意,processTradeUpdates()方法仅更新在父方法(或以上)中修改中创建的实体。
If the parent component of the dynamic elements is changing, this method should be adopted.
如果这些动态元素的父组件正在发生改变,就应该采用这种方法。
The list is "live," so I can make changes to the list directly rather than needing to call a method on the parent element.
这张列表是“活的”,所以我能直接对它进行更改,而不必调用父元素上的方法。
The method now delegates to its parent class loader before attempting to find the class itself.
方法现在在试图自己找到类之前,先委托给自己的双亲类装入器。
This method is easier than the first because there is no need to find the parent node in the JSF components tree.
这种方法比第一种方法简单,因为无需寻找JSF组件树中的父节点。
I choose this method (see Listing 5) because the parent of the category links is fixed and predefined in the example.
我之所以选用了这种方法(参见清单5)是因为在本例中这些类别链接的父组件是固定的,并且也是预先定义了的。
In this code, you can't return a value, so you must add the newly created toppings panel to the parent as part of this method.
在这段代码中,不能返回值,因此必须将新创建的Toppings面板作为此方法的一部分添加到父面板中。
In Listing 13, the execute method extracts the parent task command's result and sets the result of the operation by appending the step result to the task command's result.
在清单13中,execute方法提取父任务命令的结果,并通过将步骤结果附加到任务命令的结果而设置操作的结果。
This method searches within the given parent test object, usually a browser page, for an object of a specified class, for example, Link, TextField, Listbox, and so on.
该方法在给定父测试对象(通常是浏览器页面)内搜索指定类的对象,例如,Link、TextField、Listbox等。
This method accepts four arguments: a property, a property value, a class, and a parent test object.
该方法接受4个参数:属性、属性值、类和父测试对象。
Because a mixin's parent may be instantiated with a type parameter, there is no way for the type checker to determine all cases of accidental method overriding.
因为mixin的父类可能用类型参数被实例化,因此类型检查器就不能确定意外方法覆盖的所有情况。
If a finalize method calls only its parent, and then the method can simply be removed. For example.
如果一个finalize方法只调用它的父类,那么该方法就应当被移除。
Add a Method builder call to navigate back to the parent folder after the user has drilled down into the folder structure.
添加一个Method构建块调用,以便在用户深入到文件夹结构以后向后导航到父文件夹。
That suggests that this method shouldn't be in this class, so I'm going to refactor it upward to a BoundaryBase class, which ACTS as the parent of the PartDb class.
这说明这个方法不应该放在这个类中,所以我要把它重构到partdb类的父类BoundaryBase中。
The createControl method passes a parent Composite for the Concierge class to use to display data in the mini-app area.
createControl方法传递一个 parent Composite,Concierge类使用它在迷你应用程序区域中显示数据。
You can call the same action method from multiple places in the parent view and pass it parameters to specify what is rendered.
你可以在父视图的不同位置调用相同的动作方法,通过参数传递决定要呈现什么。
This method will now work fine; however, it now follows the standard class loading delegation (cache, parent, disk).
这个方法现在工作得很好;但是,它现在遵循的是标准类装入委托(缓存、双亲、磁盘)。
You can override a method and invoke the parent implementation.
可以覆盖方法并调用父实现。
Always make the abstract parent class implement an interface. The Template Method design pattern is especially valuable in framework design (discussed towards the end of this chapter).
总是使抽象父类实现一个接口。模板方法设计模式在框架设计中特别有价值(在这章的结尾讨论了)。
If __call fails, the parent class method is invoked, and so on.
如果__ call失败,就调用父类方法,依此类推。
But if you do go with fixed sizes, you don't have to override the measure method, and you can even define the width and height when adding the component to its parent.
但是使用了固定大小时,您就不需要覆盖measure方法,甚至可以在将组件添加到其父组件时定义width和height。
To call the action method and render the child view from the parent view, you can use either the action helper method or RenderAction helper method as shown in the following example.
为了调用动作方法在父视图中呈现子视图,你可以像下面的示例一样使用Action辅助方法或RenderAction辅助方法。
If I can figure out a way to force the child class (PartDb) to tell the parent class the value of this SQL string, I can pull this method up as well.
如果能够迫使子类(PartDb)把这个sql字符串的值告诉父类,就可以把这个方法提升到父类中。
Old behaviour: an anonymous inherited call could call through to any method in a parent class that accepted arguments compatible to the parameters of the current method.
原先的行为:一个匿名继承调用可以通过调用父类中的任何方法接受参数兼容当前方法的参数。
New behaviour: an anonymous inherited call is guaranteed to always call through to the method in a parent class that was overridden by the current one.
新行为:一个匿名继承呼叫保证总是调用覆盖当前的父类中的方法。
Your class constructor should invoke the constructor method for the parent class, in addition to anything it does that is specific to your class.
自定义的类构造器应该调用父类的构造器方法,做除这之外的任何事情是指定到你的类。
Objective To explore the inoculation process in medical personnel and children parent communication, using the method of reduce contradictions, and properly handle the dispute.
目的探讨预防接种过程中医务人员与儿童家长沟通的方法,以减少矛盾,妥善处理纠纷。
Objective To explore the inoculation process in medical personnel and children parent communication, using the method of reduce contradictions, and properly handle the dispute.
目的探讨预防接种过程中医务人员与儿童家长沟通的方法,以减少矛盾,妥善处理纠纷。
应用推荐