• When do you use an abstract class and when do you use an interface?

    什么时候使用抽象,什么时候使用接口

    youdao

  • In this case, you can modify just the abstract class and the code will compile.

    这种情况下仅需修改抽象代码完成编译。

    youdao

  • Figure 3 presents the SQL Model table objects, where table is an abstract class and can have one to many columns.

    3显示SQLmodel对象其中Table一个抽象,它可以1多个列,或者0到多个用户定义类型。

    youdao

  • This indicates that the BankAccount class is an abstract class and the withdrawal method is an abstract operation.

    表示BankAccount一个抽象类,而withdrawal方法是抽象的操作

    youdao

  • These are the respective implementations of each abstract class and interface in the message queue framework interface package.

    它们分别消息队列框架接口每个抽象接口实现

    youdao

  • If the parent class is an abstract class and if it contains at least one abstract member, then all abstract members will be implemented as non-abstract inheriting classes.

    如果抽象至少包含一个抽象成员所有这些成员作为抽象继承实现

    youdao

  • In this case, we use an abstract class to define the service interface and operations of the exposed capabilities, as shown in Figure 3.

    这种情况下我们使用一个抽象定义服务接口以及预期功能操作如图3所示。

    youdao

  • The class provides a series of static and abstract methods to work with one of the two sets of preferences: one for user preferences and one for system preferences.

    这个提供一系列静态抽象方法操作首选项(其中用户首选项,另一套是系统首选项)中的其中一套。

    youdao

  • Using a glossary model, you can define the name, abbreviation, alternative abbreviation, type (prime or class), if it can be used as a modifier, status, and abstract or description for terms.

    通过使用术语模型可以定义词汇名称缩写替换的缩写、类型(基本单词单词)、是否可以作为修饰词状态以及摘要或描述。

    youdao

  • Offering both an interface and an abstract class is redundant, but I find it convenient: in most cases, I only need the abstract class, but the interface enables multiple inheritance.

    同时提供接口抽象多余的,发现这样很方便大多数情况下,我需要抽象类,但接口支持继承性

    youdao

  • Client classes can be coded to require only the abstract type, leaving the strategies and outcomes of implementation to the concrete class instances passed to them at run time.

    客户机编码需要抽象类型,而实现策略结果留给运行传递它们具体实例

    youdao

  • In UML terms, an archetype is nothing but a "stereo-typed" class that further abstract real world entities into truly reusable and easily extensible analysis/design and implementation artifacts.

    UML术语中,原型只不过一个定型”的,它可以进一步将实际实体抽象真正重复利用轻松扩展分析/设计实施构件

    youdao

  • The indirection, which is based on "advanced compilation techniques (like abstract bytecode)" results in one master class and several anonymous, JIT enabled support classes.

    间接产物基于高级编译技术类似抽象字节码)”,会产生一个几个匿名类、以及一些启用JIT支持

    youdao

  • You can declare standard and abstract methods in an abstract class, as shown in Listing 5.

    可以抽象声明标准抽象方法如清单5

    youdao

  • You can modify an existing class, pass it as a parameter, and take advantage of the API without requiring the base API to declare an abstract class or interface.

    可以修改已有,将作为参数传递利用API而不需要基础 API声明一个抽象接口。

    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 abstract class ColorModel has the API to translate between color components and primitive red, green, blue, and alpha components.

    ColorModel抽象具有能在颜色组件基本的绿以及alpha组件之间进行转换的API

    youdao

  • Food order is another abstract class inherited by the three food types actual order classes: Doughnut, Pasty, and IcedBun.

    FoodOrder三种食品类型实际订单(Doughnut、PastyIcedBun)继承另一个抽象

    youdao

  • Just as in the Person mapping file in Listing 2, in Listing 9 we map the abstract class (Right) and all its attributes.

    正如清单2所示Person映射文件清单9中,我们映射抽象(Right)及其所有属性

    youdao

  • I haven't found any grammar files for the CDT, but we can determine its abstract model elements from the methods in the Parser class and from the comments that precede these methods.

    找到关于CDT语法文件我们可以根据parser方法以及这些方法之前注释确定抽象模型元素

    youdao

  • ValidationRule is an abstract class for a rule engine used to validate and format ViewController field content.

    ValidationRule规则引擎抽象用来验证格式化ViewController字段内容

    youdao

  • The Template Method pattern defines the skeleton of an algorithm in a base class, using abstract methods and overriding to defer individual details to child classes.

    TemplateMethod模式定义算法骨架使用抽象方法覆盖具体细节放到子类中

    youdao

  • By extending the abstract class org.restlet.Filter and attaching it to an existing router, it's possible to intercept calls to routers.

    通过扩展抽象org . restlet . Filter将其附加一个现有路由器可以侦听路由器的调用

    youdao

  • The TypeDescription class is just an abstract base class with methods defined for dealing with three kinds of types: primitives, arrays, and instances of classes.

    TypeDescription只是抽象类,其中定义处理类型方法原生类型数组实例

    youdao

  • The class itself is also marked as abstract, allowing Tapestry to handle setting up an instance of the class and hook it into the Tapestry engine.

    本身标记抽象这允许Tapestry负责设置类的实例把实例挂接到 Tapestry 引擎。

    youdao

  • The Authenticator class is abstract, so you'll need to subclass it and implement the getPasswordAuthentication() method to store the username and password (see Listing 13).

    Authenticator一个抽象所以需要派生子类实现 getPasswordAuthentication()方法存储用户密码(见清单 13)。

    youdao

  • The UML to C++ transformation treats this as an abstract class, and generates code to reflect the same. For example, consider the following model

    UML to C++转换的 UML看作一个抽象并且产生反映相同特性代码

    youdao

  • The top level object is the Order, an abstract class that is inherited by FoodOrder and BoxOrder.

    顶层对象Order,是FoodOrderBoxOrder继承一个抽象

    youdao

  • For those unfamiliar with themes, the abstract MetalTheme class offers a way to abstract away the colors and fonts used by the look and feel.

    如果您不熟悉主题,那么抽象MetalTheme提供了一个抽象外观使用颜色字体方法

    youdao

  • Declare an inner class, Collab that extends the RuntimeCollaborator abstract class, and implements the operations and attributes declared for the MBean in the MBean Descriptor (Figure 2).

    声明内部Collab,Collab继承了RuntimeCollaborator抽象实现了MBean描述符MBean声明操作属性(2)。

    youdao

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

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

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