So a class or struct is required to implement all the methods of all the interfaces in the transitive closure of its base interfaces?
那么就是说一个class或者一个struct必须要实现其传递闭包上所有接口定义的所有方法吗?
When a class implements an interface that has multiple base interfaces, objects created from that class can be upcast to any of the base interface types.
当一个类实现有多个基接口的接口时,从这个类生成的对象可以上溯到任何一个基接口。
To do so, developers would need to manually implement the provided interfaces and extend the abstract base classes.
要想这样做,开发人员需要手动地实现所提供的接口,并且扩展抽象基础类。
So it's optional whether the less-derived implemented interfaces are stated in the base type list?
那么就是说派生程度较低的接口是否被声明在基类列表中是可选的了?
All of this code is vanilla JPA code, as all of these classes and interfaces are part of the base API.
所有代码都是普通的JPA代码,因为所有类和接口都是基础api的一部分。
Or in other words, the only opportunity they had to introduce the read-only interfaces as base classes of the mutable variety was back in.net 2.0 when they were originally conceived.
或者换言之,引入只读接口作为某些可变种类基类的唯一机会是退回到。NET 2.0,即它们最初被构思出来的时候。
The goal for the suite is to show any relationship that is either explicitly in the code (method calls, inheritance, etc) or done so at runtime (calls to interfaces or base classes).
该套件的目标就是展示代码中显露出来的关系(方法调用、继承等等)和运行时出现的关系(对接口或基类的调用)。
Is a class (or struct) that implements a more-derived interface also required to state in its base type list that it is implementing all of those less-derived interfaces?
一个实现了派生程度较高的接口的class或者struct必须要在其基类型列表中声明它实现了那些派生程度较低的接口吗?
But regrettably, the original authors of Order and Contract weren't farsighted enough to base their design on interfaces.
但令人遗憾的是,Order和Contract的最初作者没有足够的远见来把它们的设计建立在接口上。
Base classes of all of these are provided, but in most cases it is easiest to inherit from 'HandlerBase', which itself inherits from all four interfaces.
已提供了所有这些接口的基类,但大多数情况下,最简单的方法是继承' HandlerBase ',因为这个类继承了所有四个接口。
In fact, as we shall see in the following sections, a class can have a base class and implement multiple interfaces.
事实上,正如我们将从以下小节要看到的,一个类可以有一个基类,并且实现多个接口。
While a class can have only one direct base class, it is permissible for an interface to directly derive from multiple interfaces.
虽然一个类只能有一个直接基类,但是一个接口可以直接从多个接口派生。
All interfaces implemented by base classes are inherited by their derived classes. Not just Serializable.
所有的通过基类实现的接口是由其派生类继承。不可序列化的。
Unlike classes, interfaces can have more than one base interface. Listing 12-8 contains an example.
与类不同,接口可以有不止一个基接口。清单12-8含有一个例子。
In such cases, the interfaces that are implemented appear after the base class, separated by commas.
在这种情况下,被实现的接口放在基类之后,以逗号分隔。
The main advantage in using interfaces is that classes can implement more than one of them, as opposed to being able to derive from a single base class (abstract or otherwise).
使用接口的主要优点是可以实现的类不止一个,而这些类不能从一个单一的基类派生(抽象或相反)。
At last, integrated management was put up on the base of interface management team to deal with the interfaces in construction projects.
最后,本文提出了以界面管理小组为基础的建设项目的界面管理。
Second, standards support and encourage interoperability amongst multiple vendors by defining an agreed upon minimum base feature sets and a set of common test points at interfaces.
第二,通过定义一个被认可了的最小基础特性集和一系列通用测试接口点,标准支持和鼓励多厂家的互操作。
When a base type list contains a base class and interfaces, the base class must come first in the list.
当基类型列表包含基类和接口时,基类必须是列表中的第一项。
For reference types, an implicit conversion always exists from a class to any one of its direct or indirect base classes or interfaces.
对于引用类型,隐式转换始终存在于从一个类转换为该类的任何一个直接或间接的基类或接口的情况。
Name, visibility, base class, and interfaces implemented.
名称、可见性、基类和实现的接口。
All interfaces implemented by base classes are inherited by their derived classes.
所有的通过基类实现的接口是由其派生类继承。
Spatial database, attributive database and model base were integrated by internal and external interfaces and applied in quantitative evaluation of eco environmental quality of Zigui County.
将空间数据库、属性数据库和应用模型库通过内部和外部接口集成一起,对秭归县的生态环境质量进行了定量评价。
This function allows a client to ask the object for different pointers to itself that also point to different abstract base classes (also known as interfaces).
这个函数允许客户端请求对象提供关于自己的其它方面的指针,这个新指针同样指向不同的虚基类(也叫做接口)。
The completion list of base classes only contains interfaces and namespaces.
基类的完成列表仅包含接口和命名空间。
Then , COM which is the base of OPC is introduced including the attritudes of COM, standard interfaces and the concept of COM object.
接着介绍作为OPC基础的组件对象模型COM原理,包含COM的特性、标准接口、以及COM组件的基本概念。
The management of the system data base and the integration of the operating interfaces are implemented on the VFP platform.
系统基础数据的管理、操作界面的集成基于VFP平台。
The military TAB base used to realize the management and drawing of military TAB, encapsulate the military TAB base into dynamic linkage base, and provide with military drawing interfaces.
军标库实现军标的管理和绘制,并将军标库封装成动态链接库,提供军标绘制接口。
The military TAB base used to realize the management and drawing of military TAB, encapsulate the military TAB base into dynamic linkage base, and provide with military drawing interfaces.
军标库实现军标的管理和绘制,并将军标库封装成动态链接库,提供军标绘制接口。
应用推荐