• In this case, we have it just print a message to the console and then call the base class version for actual handling.

    此例中,我们控制台打印条消息然后调用版本执行实际处理

    youdao

  • In fact, you can substitute the base class for every node object, giving your whole application custom behaviors.

    事实上可以置换每种节点对象从而能够定制整个应用程序行为

    youdao

  • Connections are established by creating instances of the PDO base class.

    连接通过创建pdo实例而建立的。

    youdao

  • To begin we create an abstract base class which represents the service we want to expose.

    首先创建一个抽象用于表示我们公开服务

    youdao

  • While technically not meant to act as a generic base class for addresses, it could be used for that purpose.

    虽然技术的角度看,其没有打算充当地址通用,但还是可以这样使用

    youdao

  • You might think, reasonably enough, that the same enhancement can be accomplished simply by subclassing the XO base class.

    可能会非常合理想到,也可以定义xo子类来实现同样增强

    youdao

  • A base class is great for defining common functionality, but you must make sure that each data element defined is truly necessary.

    可以定义常见功能但是必须确保定义每个数据元素真正需要的。

    youdao

  • The application's style sheet source should immediately follow the declaration of the application's base class (see Listing 5).

    应用程序样式源代码应该立即出现应用程序声明之后(参见清单5)。

    youdao

  • You can then use the base class, or any of the subclasses, in methods that are typed to expect the base class as a method argument.

    然后就可以键入的以作为方法参数方法使用基类任何一个子类

    youdao

  • Subclassing the class is typically not an option here, since the method needs to be available to instances of the base class itself.

    在这种情况下,继承这个通常行不通因为所添加的方法需要在基类的实例可用

    youdao

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

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

    youdao

  • The basic solution is to define a base class or interface that can be accessed by the statically compiled code, then extend that base class or implement that interface in the generated class.

    基本解决方案定义可以静态编译代码访问或者接口然后生成的类扩展这个基类或者实现这个接口。

    youdao

  • To model inheritance, use the generalization relationship provided by the UML modeling palette, which is drawn from the inherited class to the base class.

    建模继承可以利用uml建模面板提供一般化关系是从继承基础而绘制出来的。

    youdao

  • Marking the base class as "private" allowed the derived class to inherit from it without actually becoming one of them.

    标记私有允许派生基类继承而而无需实际成为 一个基类。

    youdao

  • The customer class can be an abstract base class for a family of different customer types, such as private or business customer.

    客户可以用于许多不同客户类型抽象类,比如说私有客户业务客户。

    youdao

  • Access to data fields inherited from a virtual base class is not supported.

    支持访问虚拟继承数据字段

    youdao

  • Another use of abstract classes is to create a single base class for multiple derived classes in which that base class should never be instantiated.

    抽象另一个用途多个派生创建这些派生类中,基类决不会实例化。

    youdao

  • The implementation has to extend a certain base class, and there should be an asynchronous interface that the framework implements.

    实现需要扩展某个并且应该提供由框架实现的异步接口

    youdao

  • I'll handle these differing requirements by using a base class for all parameter definitions, subclassing it for each specific type of parameter.

    处理这些不同需求的方法是,首先有形定义使用,然后为每一种特定类型的形参细分类这个基类。

    youdao

  • Figure 1 presents a base class for persistent entities that contains the necessary auditing fields.

    1包含审计字段持久化实体提供了一个

    youdao

  • Contrast the use of an abstract base class against an interface?

    对比抽象接口使用

    youdao

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

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

    youdao

  • Each service or proxy that supported an interface was required to inherit from the abstract base class that defined the interface.

    支持接口每项服务代理必须继承定义接口抽象

    youdao

  • To handle this, you implement customers as an abstract base class with many different subclasses (for example, financial, manufacturing, and so on).

    处理这个问题,客户实现一个抽象拥有许多不同子类例如财务制造等等)。

    youdao

  • The derived classes have the same dynamic class attributes of the base class.

    派生具有相同动态属性

    youdao

  • The parts that are common throughout all your systems go to a base class you always use.

    整个系统中都会使用部分可以放到类里面

    youdao

  • The idea of inheriting from a base class without being able to downcast to it or upcast to the base just seemed silly.

    继承一个无法向下向上转换基类理念是不明智的。

    youdao

  • Therefore it is a good idea to create a generic base class that can be reused later.

    因而最好创建一个重用的通用

    youdao

  • First, create an abstract base class that encapsulates this common functionality, as in Listing 7.

    首先创建一个抽象封装通用功能清单7所示。

    youdao

  • Now, to select the base class, click the Add button, and select LibraryEntry from the dialog box.

    现在可以选择这个点击add按钮然后对话框中选择LibraryEntry

    youdao

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

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

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