• 减少了子类及其超类之间的耦合。

    Reducing coupling between a subclass and its superclasses.

    youdao

  • 通常,导入对象的超类就足够了。

    It is generally sufficient to import the superclass for your object.

    youdao

  • 而有时则是直接从超类继承这一特性。

    Sometimes they merely inherit it from a superclass.

    youdao

  • 超类方法——在运行时不需要其他实例。

    Superclass methods — no additional instance needed at run time.

    youdao

  • 它指明注释的方法将覆盖超类中的方法。

    It indicates that the annotated method is overriding a method in a superclass.

    youdao

  • 怎样利用脚本帮助器超类加强您的脚本?

    How to enhance your scripts with the script helper superclass?

    youdao

  • 然而,超类(父类)不一定要是抽象类。

    However, super classes (parent classes) do not have to be abstract classes.

    youdao

  • 下面是一个使用单表策略映射超类和子类的示例。

    Here is an example of mapping a super class and a sub class using the single table strategy.

    youdao

  • 那篇文章是我见过的关于理解超类如何运行的最好的资源。

    That article is the single best resource that I've seen for understanding how the superclass works.

    youdao

  • 类的API目前包含对于继承和超类方法调用的完善支持。

    The class API now includes full support for inheritance and superclass method calls. (See Mislav's tutorial for more info.)

    youdao

  • 所以在创建对象之前,必须构造相同类或其超类的另一个对象。

    So before an object is created, another object of the same class or of its superclass must be constructed.

    youdao

  • 这个默认的超类在功能测试的项目属性页面上有详细说明。

    This default superclass is specified on the functional test project properties page.

    youdao

  • 超类将使用这个模型对象列表来创建对应的EditPart。

    The superclass will use this list of model objects to create the corresponding EditParts.

    youdao

  • 任何子类数据的修改都涉及两张表:超类的表和子类的表。

    Also any data change on a subclass involves two tables: the super class table and the subclass table.

    youdao

  • 同样,您几乎总是在子代方法主体的开始或结束部分调用超类方法。

    Likewise, you almost always call a superclass method at either the start or end of a descendent method body.

    youdao

  • Widget类是可以呈现在GWTUI中的几乎所有类的超类。

    The superclass of pretty much everything you can render in a GWT UI is the Widget class.

    youdao

  • 应该在这个超类的service方法中创建范围键并实现通知逻辑。

    Implement the creation of a scope key and the notification logic in the service method of this superclass.

    youdao

  • 超类映射支持;超类中定义的属性到列的映射应该可用于它的子类。

    Super class mapping support; attribute to column mapping defined in a super class should be available for its child class.

    youdao

  • 空的finalizer(它抵消超类finalizer的作用)。

    An empty finalizer (which negates the effect of the superclass finalizer).

    youdao

  • plugin类是所有插件运行时类实现的抽象超类(请参见清单2)。

    The Plugin class is the abstract superclass of all plug-in run time class implementations (see Listing 2).

    youdao

  • 这种情况下,最好的补救办法就是将这些被引用的字段也移到这个超类中。

    The best remedy in this case is to move those referenced fields to the superclass, too.

    youdao

  • 子类名称要合格:对子类的命名会表述出其与超类之间的相似和差异之处。

    Qualified subclass name: name subclasses to communicate the similarities and differences with a superclass.

    youdao

  • 抽取超类与抽取接口的最大区别在于放入超类中的方法是被实际移到那里的。

    A huge difference between extracting a superclass and extracting an interface is that the methods put in the superclass are actually moved there.

    youdao

  • 读写方法减少了超类中的更改影响到其子类的这种脆弱的基类问题所带来的风险。

    Accessors reduce the risk of the fragile base class problem where changes in a superclass ripple throughout its subclasses.

    youdao

  • 常量池后面还有几项,它们引用了类本身、其超类以及接口的常量池项。

    Following the constant pool are several items that reference constant pool entries for the class itself, its super class, and interfaces.

    youdao

  • 按类表:(可选)每个具体的子类映射到一个表,并且包含超类属性的列。

    Table per-class: (Optional) Each concrete subclass is mapped to a table and contains columns for super class attributes.

    youdao

  • 在与本文相关的解决方案中,您将看到每个操作的公共代码都被移到了抽象超类中。

    In the solution associated with this article, you'll see that the common code for each of the actions has been moved to an abstract superclass.

    youdao

  • 生成的定制代码使用一个超类模型,如清单4中标准生成的定制代码所示。

    The generated custom code utilizes a super class model, as shown in the standard generated custom code in Listing 4.

    youdao

  • 模板方法可以由实现者提供,但必须注意的一点是超类有可能已经实现了其模板方法。

    Template methods can be provided by the implementer, who must not forget that the superclass can potentially have implemented its template methods.

    youdao

  • 在这个案例中,是通过引进一个维护观测者清单的超类(Subject)来实现的。

    In this case, this is achieved by introducing a superclass (Subject) that maintains a list of observers.

    youdao

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

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

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