subclass中文,subclass的意思,subclass翻译及用法

2026-03-22 12:15 浏览次数 25

subclass

英['sʌbˌklɑ:s]美['sʌbˌklɑs]

v. 把……划入亚纲;将……编入子集

n. 亚纲;子集;子类

subclass 英语释义

英语释义

  • (biology) a taxonomic category below a class and above an order

subclass 片语

片语

Create SubClass创建子类

Subclass Eutheria all mammals except monotremes and marsupials

同义词: Eutheria

subset[数] 子集;子设备;小团体

Subclass Trachylina硬水母亚纲

Subclass chondrostei腕鳍亚纲

autoantibody subclass自身抗体亚型

subclass number[数] 子类数

concrete subclass实现类

Subclass Information子类信息

Subclass Otacorallia中的六放珊瑚亚纲

subclass 例句

英汉例句

  • although ontology defines a service as a subclass of element, it states that instances of higher level classes, for example, systems may provide capabilities that can be offered as services.

    尽管在本体中服务是作为元素的子类而定义的,但是它也提到,上层类别(如系统)的实例提供的能力也可视为服务。

  • table per-class: (optional) each concrete subclass is mapped to a table and contains columns for super class attributes.

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

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

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

  • you might also reconsider your privilege model if you know that a certain subclass of users has increased responsibility over a certain part of the application.

    如果您知道特定的用户子类增加了对应用程序特定部分的责任,则可能还要重新考虑权限模型。

  • create a mock object class as a subclass of the concrete class.

    创建一个模拟对象类作为具体类中的一个子类

  • reducing coupling between a subclass and its superclasses.

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

  • if a class that uses an abstraction has to downcast to a specific subclass in one section, you「re not following the open closed principle.

    如果在某一部分中,一个抽象了的类必须向下转换为特定的子类,那么你就没有遵循开闭原则。

  • another approach to the expression problem is multiple inheritance, in which one subclass can extend many superclasses.

    表达式问题的另一种方法是多重继承,即一个子类可扩展许多超类。

  • this is one approach that enables the client to determine what member of the class hierarchy it receives, and process the additional information in the subclass accordingly.

    这是一种可以使客户端能确定他接收到的是类层次中的什么成员的方法,并相应处理子类中的附加信息。

  • thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.

    该异常的抛出,表明代码企图把对象的类型转换成一个子类,而该对象并不是这个子类的实例。

  • if the target class is an interface, then it is considered a subclass if it implements that interface.

    如果目标类是接口,那么会把它当作实现了该接口的一个子类。

  • then you would subclass the generated code to add functionality.

    然后您可以使生成的代码生成子类,以添加功能。

  • a complex workaround is available that requires a subclass of each client-side class to be created for each locale (see resources), but gwt」s engineers are working on a more viable solution.

    现在有一个复杂的工作区,它需要为每个地区创建的客户端类的子类(请参阅 参考资料),但是gwt 的工程师正在开发更可行的解决方案。

  • you create your subclass and override just those methods that you use in your methods under test.

    创建一个子类,并仅仅重载您在测试方法中所使用的那些方法。

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

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

  • for a normal object (non-array): the object must be an instance of the target class or a subclass of the target class.

    对于普通对象(非数组):对象必须是目标类的实例或目标类的子类的实例。

  • with this strategy, each proper subclass has its own table.

    通过这种策略,每个子类都会拥有其自身的表。

  • sometimes, in the case of facilitating polymorphism, a flag will be passed to the factory method to indicate the specific interface implementation or subclass to be returned.

    有时,在更利于多态的情况下,为了指出返回确定的接口实现或者子类,一个标记将被传人工厂方法。

  • second, because we know that every instantiation of the type parameter is a subclass of the bound, we can safely call any methods on an instance of the type parameter that appear in the bound.

    其次,因为我们知道类型参数的每次实例化都是这个范围之内的子类,所以可以放心地调用类型参数实例出现在这个范围之内的任何方法。

相关热词