All of the service implementations support the same abstract interface, so that clients can invoke each of them in the exact same way.
所有的服务实现支持同一个抽象接口,这样客户机就可以用完全相同的方法来调用它们中的每一个。
You can alleviate this somewhat by having an abstract superclass that contains empty implementations of all methods for all visitors.
您可以使用一个抽象超类,在其中包含所有访问者的所有类的空实现,从而略微缓解难度。
These are the respective implementations of each abstract class and interface in the message queue framework interface package.
它们分别是消息队列框架接口包中每个抽象类和接口的实现。
It is common in object-oriented development to abstract out a common interface that may have multiple implementations and write code that works with the interface, making it more reusable.
在面向对象的开发中,有一种实践很常见:抽象出一个可能拥有多个实现的接口并编写代码以使用该接口,从而使其可以重复利用。
Extensible framework - Common functions and features are abstracted as loosely coupled abstract classes and interfaces, which can be extended to provide application-specific implementations.
可扩展框架——将通用功能和特性抽象为松耦合的抽象类和接口,可以扩展这些类和接口以提供应用程序特定的实现。
An abstract class that our Action classes extend has also been created, to hold common code needed for all our Action class implementations.
操作类继承的抽象类也已被创建以保存所有的操作类实现所需的共同代码。
The Plugin class is the abstract superclass of all plug-in run time class implementations (see Listing 2).
plugin类是所有插件运行时类实现的抽象超类(请参见清单2)。
When you develop your own components you will subclass UIComponentBase, which extends UIComponent, and provides default implementations of the all of the abstract methods in UIComponent.
在开发自己的组件时,需要继承uicomponentbase,它扩展了UIComponent并提供了UIComponent中所有抽象方法的默认实现。
These are abstract classes and have concrete implementations in the form of One2One and Any2One type channels.
这些都是抽象类,它们拥有one2one和Any2One类型通道形式的具体实现。
The architecture team worked hard to abstract the communication implementations with the Sendable interface; however, the team's first attempt seemingly ignored this interface.
体系结构团队想方设法使用Sendable接口来抽象通讯实现;然而,他们的第一次尝试就好像忽略了这个接口。
I could just add default implementations to the abstract class as shown in Figure 5.
像代码5这样,我可以仅仅向抽象类中添加一些默认的实现。
Capture highlevel, stable concepts in abstract classes and interfaces and provide implementations using concrete classes.
在抽象的类和接口中捕捉高级、稳定的概念,并用具象类实现。
When an abstract class is subclassed, the subclass usually provides implementations for all of the abstract methods in its parent class.
通常当一个抽象类派生子类,子类提供了实现父类的抽象方法。
Allows specific implementations of this abstract class to be instantiated.
允许实例化此抽象类的特定实现。
Allows specific implementations of this abstract class to be created.
允许创建此抽象类的特定实现。
This abstract class models the addresses in a message. Subclasses provide specific implementations.
该抽象类模拟消息中的地址,子类提供具体的实现。
When a nonabstract class is derived from an abstract class, the nonabstract class must include actual implementations of all inherited abstract members, thereby overriding those abstract members.
当非抽象类继承一个抽象 类 时,非抽象 类必须包含所有继承的抽象成员的实现,因此覆盖所有的抽象成员。
When a nonabstract class is derived from an abstract class, the nonabstract class must include actual implementations of all inherited abstract members, thereby overriding those abstract members.
当非抽象类继承一个抽象 类 时,非抽象 类必须包含所有继承的抽象成员的实现,因此覆盖所有的抽象成员。
应用推荐