查询
1 词典释义:
subclass
时间: 2025-06-01 06:49:12
英 [ˈsʌbˌklɑːs]

n.基类;小类;亚纲;

vt.将···归入小类;将···划入亚纲

双语例句
  • How to subclass application Windows?

    如何将应用程序窗口子类化?

  • 'SSS' indicates the error message subclass.

    ' SSS '指出了错误消息子类。

  • Strategy 1: One table per subclass (Persons).

    策略1:每个子类一个表(Persons)。

  • Now we can create our bean as a subclass of this.

    现在,我们可以以这个类为父类创建子类bean。

  • Figure 1 shows a UML diagram for this simple subclass.

    图1显示了这个简单子类的uml图。

  • Improper down-casting of objects into subclass types

    不正确的将一个对象转型为其子类型对象;

  • In order to view the subclass hierarchy, select Incoming.

    为了查看子类层次,选择Incoming。

  • Reducing coupling between a subclass and its superclasses.

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

  • Prepared statements are a subclass of the statement class.

    预置语句是statement类的一个子类。

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

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

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

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

  • The pros are similar to the above "Table per Subclass" strategy.

    优点和上面的“每个子类一张表”策略相似。

  • All the subclass does is convert the text data into a date value.

    所有的子类将文本数据转换为数据值。

  • This means that no subclass of that class can declare a finalizer.

    这意味着该类的任何子类都无法声明终结器。

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

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

  • A query on a concrete subclass only generates SQL for that subclass.

    具体子类的查询只生成该子类的SQL。

  • In fact, InputStream is abstract, so some sort of subclass is necessary.

    实际上,InputStream是一个抽象类,因此某种类型的子类是必要的。

  • Creating a subclass of SOAPMappingRegistry with all pre-registered mapping.

    用所有预注册的映射创建SOAPMappingRegistry的一个子类。

  • You never create an instance of it — instead, you always work with a subclass.

    您永远不会创建它的实例——相反,您总是使用它的子类。

  • I just had to subclass it to make a hypertext object, and add the Internet code.

    我只需要子类化出来一个超文本对象,然后加上互联网相关代码就行了。

  • A subclass could then expose a public constructor, allowing anyone to make instances.

    这时,子类可以把构造方法转为公有属性,从而允许任何客户端都可以去创建实例。

  • To use an ABC, a subclass must inherit from the ABC and override its abstract methods.

    要使用 ABC,子类必须继承自此 ABC 并且还要覆盖其抽象方法。

  • You also have to answer questions like: do you allow clients to subclass from this type?

    你也同时必须回答这个问题:你是否允许客户继承这个类?

  • You will never instantiate this class directly, but always create an instance of its subclass.

    永远不要直接实例化这个类,而是创建它的子类的一个实例。

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

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

  • Your application can throw this subclass exception and your client would receive this exception.

    您的应用程序可以抛出这个子类异常,并且您的客户将接收到这个异常。

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

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

  • For example, you can subclass your existing object model and represent each type as an event.

    例如,您可以将已有的对象模型分类并且将每一个类型表示为一个事件。

  • Classes are arranged in a hierarchy, so that a subclass can inherit behavior from its superclass.

    类是有层次性的,所以子类可以继承父类的行为。

  • This means that nobody can create a subclass of that class, which prevents the attack from working.

    这意味着没有人可创建该类的子类,这会阻止攻击生效。

近义词
n. 亚纲;子集