• If a subclass of one of these classes needed to override the default behavior, it could do so by overriding the method.

    如果这些中的任何个的子类需要覆盖默认行为那么可以通过覆盖这个方法实现。

    youdao

  • This section offers a step-by-step description of the Extract and Override factory method refactoring.

    循序渐进地描述抽取覆盖工厂方法重构

    youdao

  • When implementing an interface, your method must override all methods of the interface.

    您在实施一个界面时,方法必须替换界面的所有方法

    youdao

  • In a subclass you can make assumptions about the internal state of the superclass when the method you override is getting called.

    子类重写方法被调用时,可以在子类中内部状态进行操作。

    youdao

  • You just override them, which combines the strong points of existing object finding method.

    只是超越了它们已存在对象搜索方法的最强部分结合起来。

    youdao

  • The subclass can then override any particular method to alter the behavior of the base reader.

    然后子类改写某些特殊方法从而改变基本读取器行为

    youdao

  • So we override that method with an implementation which returns the notification's type and the time at which we received the notification.

    因此我们一个返回通知类型接收到通知时间实现来覆盖那个方法

    youdao

  • The constructor method uses the normalize method to ensure that the override value strings do not contain symbols used by XML parser.

    构造函数方法使用标准化的方法确保重载包含XML 解析器所使用符号

    youdao

  • A custom component must override this method to commit properties before validation happens.

    定制组件必须验证发生之前覆盖这个方法提交属性

    youdao

  • In the specialization object, override the creation method to return a mock object that accommodates your test.

    特殊化对象中,覆盖创建方法返回测试提供的模仿对象。

    youdao

  • The next thing you have to do is override any method from the base class or classes to populate the column.

    接下来需要覆盖来自或者任何方法填充

    youdao

  • Unlike Override, deprecated should be placed on the same line as the method being deprecated why?

    Override不一样的Deprecated应该与正在声明过时方法放在一行为什么这样

    youdao

  • In Listing 6, you override the header method, which is called to generate the content for each page's header.

    清单6中,重写Header方法调用以便生成一个页面的标题内容

    youdao

  • Now that you've created a reasonable facsimile of the original header, you also need to override the footer method so you can generate the footer.

    现在已经创建了一个原始标题合理副本,您需要重写Footer方法以便于您生成脚。

    youdao

  • You also override the constructor where you instantiate the server class and the SugarRestServiceXML: : serve method to instantiate the response class.

    我们重写构造函数,其中实例化了服务器SugarRestServiceXMLserve方法实例化响应类。

    youdao

  • Because act is an abstract method, we don't need to explicitly override it with the override keyword.

    因为act一个抽象方法我们需要显式地override关键字来重写。

    youdao

  • For example, you'll see in the override annotation, later in this article, that Tiger introduces an annotation that lets you specify that a method overrides another method from a superclass.

    例如本文后面Override注释看到Tiger引入了个这样的注释,用于允许指定方法覆盖超类中的另一种方法。

    youdao

  • The container can override an abstract (or concrete) method to return the result of performing a getBean() call at the time when the method is invoked.

    容器能够重载一个抽象或者具体方法方法调用返回执行getBean()调用结果

    youdao

  • To work around this problem, you must extend the JETEmitter class to override the initialize method and add in your own classpath entries.

    解决这个问题必须JETEmitter进行扩充,使其覆盖initialize方法将其加入自己的classpath项中。

    youdao

  • You need to override this method after calling super.updateDisplayList() if you're creating a custom layout, and then substitute the desired logic.

    如果正在创建定制布局,那么需要调用 super.updateDisplayList() 之后覆盖方法然后替换希望使用的逻辑。

    youdao

  • Simply override each abstract method in BridgeFactory, and change it to return true or false, as appropriate.

    只需覆盖BridgeFactory中的每个抽象方法适当地将改为返回truefalse

    youdao

  • In this sample, only one database is used, but in a multiple database solution, the derived business object classes can override this method, returning their appropriate home Notes database instance.

    这个示例中只用到了一个数据库数据库解决方案中,派生业务对象可以覆盖方法返回适当的主要Notes数据库实例

    youdao

  • For this purpose we can override the method px_freeze, which performs a "setup" on your data prior to it being stored, and the method px_thaw, which will be called when your data is extracted.

    为此我们可以覆盖方法px _ freeze(数据存储之前进行设置”)方法px _ thaw(在提取数据调用它)。

    youdao

  • You can also override a Dojo widget method, subclass an existing Dojo widget for special behavior, or create your own widget.

    可以覆盖Dojo部件方法针对特定行为子类化现有的Dojo小部件创建自己的小部件。

    youdao

  • 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方法甚至可以在将组件添加其父组件定义widthheight

    youdao

  • If you override visit (Code) and call super.visit (Code) from it, when the superclass visit (Code) returns, it will have called visit (CodeException) for all the catch blocks in the method.

    如果重写visit (Code),那里调用super .visit (Code),则visit (Code)返回时,调用用于方法所有catch的visit (CodeException)。

    youdao

  • The annotation indicates that hasCode() should override a method.

    注释指明hasCode()应该覆盖方法

    youdao

  • It looks like the add method is something you should override in FixedList, as in Listing 11.

    似乎add方法应当FixedList中被重写,清单11所示。

    youdao

  • Figure 2 is a snapshot of how your XML plug-in will look after you have added a rule to override the default method bodies in the generated code. Notice this line, in particular.

    2生成代码添加条规则改变默认方法主体XML插件外观快照

    youdao

  • Next, you override the measure() method and measure the height and width of the text using text-line metrics.

    接下来覆盖 measure()方法使用文本行单位度量文本heightwidth

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定