• 调用类上其他方法重写方法

    Call a method on the base class that has been overridden by another method.

    youdao

  • 我们实际上可以多种方法重写上一个例子最后

    We could actually write the last line of the previous example in several ways.

    youdao

  • 但该参数可以过程或者方法重写

    The value of the parameter can not be overwritten by the procedure or function.

    youdao

  • 一方面,可以照下面方法重写参数构造器修复错误

    On the other hand, the bug could be fixed by rewriting the single-argument constructor as follows.

    youdao

  • 如果希望自己方法重写新的方法,则需要注意以下事项。

    If you do not want your method to override the new base class method, the following considerations apply.

    youdao

  • 以一致方式命名重写层次结构中的参数可以提高方法重写可用性

    Consistent naming of parameters in an override hierarchy increases the usability of the method overrides.

    youdao

  • 抽象继承方法时,抽象类可以使用抽象方法重写方法

    When an abstract class inherits a virtual method from a base class, the abstract class can override the virtual method with an abstract method.

    youdao

  • 派生中的方法重写基类方法而且两种方法可见性修饰符不同的。

    A method in a derived class overrides a base-class method, and the visibility modifiers of the two methods are different.

    youdao

  • 参数可以过程或者方法引用。但该参数可以被过程或者是方法重写

    IN - the parameter can be referenced by the procedure or function. The value of the parameter can not be overwritten by the procedure or function.

    youdao

  • 参数可以过程或者方法引用。该参数也可以过程或者是方法重写

    IN OUT - the parameter can be referenced by the procedure or function and the value of the parameter can be overwritten by the procedure or function.

    youdao

  • 因为新的click方法重写Button具体实现,必须加上override关键字

    Since the new click method overrides Button's concrete implementation, the override keyword is required.

    youdao

  • 事实上重写发现纠正一些错误最好方法语法拼写错误。

    In fact, rewriting is the best way to find out and correct some mistakes, like grammar and spelling mistakes.

    youdao

  • 其次程序员必须重写必要的基本方法

    Secondly, the programmer must override base methods as necessary.

    youdao

  • 无需创建接口去掉整个模拟对象存根可以有选择地重写方法返回一个简单模拟响应

    No need to create an interface and stub out an entire mock object - you can strategically override that one method and return a simple mocked-out response.

    youdao

  • 实现提供编写者实例传递处理使可以重写需要特殊处理的方法

    It implements the pass-through handling for a supplied class writer instance, letting you override only the methods where you need special handling.

    youdao

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

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

    youdao

  • 然后可以放弃事件或者调用重写方法

    Then you can either abandon the event or must invoke the method overridden in the based class.

    youdao

  • 缺少这个注释可能表示开发人员没有意识到方法重写

    A missing annotation may indicate that the developer didn't realize the method was being overridden.

    youdao

  • 如果可以重写的话,则可以重写方法行为因此最安全选择就是允许将类子类化。

    If the class can be overridden, its methods' behaviors can be overridden as well, so your safest bet is to disallow subclassing.

    youdao

  • 尽管对于重写方法可能一点开销,但编写测试专注正在发生的事情很重要的。

    Although there maybe a little more overhead with regards to overriding methods, it is important to keep the test writer concentrated on what is happening.

    youdao

  • 再一我们重写click方法

    Once again, we override the click method.

    youdao

  • EmptyVisitor只是提供了所有不同种类visitor实现允许对感兴趣的visitor方法子类重写

    EmptyVisitor just provides an empty implementation of all the various types of visitors, allowing you to subclass and override only the visitor methods of interest.

    youdao

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

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

    youdao

  • 每个表达式都有一个simplify方法允许表达式重写

    Each expression class has a simplify method, to allow expression rewriting.

    youdao

  • 为了支持等待线程,在清单2已经重写remove方法

    In Listing 2, the remove method has been overridden to support waiting threads.

    youdao

  • 搜索查询,同样,不难想象出,可以重写一个方法调用

    Search query I made earlier, it's not hard to imagine rewriting it as a method call, either.

    youdao

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

    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.

    youdao

  • 使用了HTTP方法(header),但是重写了HTTP中管理连接数据转移格式部分

    It USES HTTP methods and headers, but it overrides the parts of the protocol that manage connections and data transfer formats.

    youdao

  • 重写click方法会增加count。

    The overridden click method increments count.

    youdao

  • 为了举例说明,可以将%INCLUDElsxsd . lss添加Web服务(options)部分,然后重写GetUserRoles方法如下所示。

    As an example, you could add the line % INCLUDE "lsxsd.lss" to the (Options) section of the Web service and rewrite the GetUserRoles method like this.

    youdao

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

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

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