另一个示例:通用类型推断。
DOUBLE是在各种模型中使用的通用类型。
Future对象的通用类型是实际操作的结果。
The generic type of the Future object is the result of the actual operation.
表1.使用通用类型建立图书馆系统模型的范例代码。
Listing 1. Sample code for the library system modeled using generics.
SRAM是数字存储器片的通用类型,用在广泛的电子系统进行数据存储。
SRAM is a common type of digital memory chip used in a wide variety of electronic systems for data storage.
为了建立该模型,您将定义一个通用类型表并将它用作定义一个排序表。
To model this, you will define a generic list and use it to define a sorted list.
作为具体示例,请考虑清单3,声明了通用类型Box并调用了Box结构函数。
As a concrete example, consider Listing 3, which declares a generic type Box and invokes the Box constructor.
在讨论中所涉及到的产品的上下文环境中,模型主要是两种通用类型:概念的以及具体的。
In the context of the products under discussion, models are of two general types: conceptual and concrete.
例如,你可能希望使用另外一种通用类型系统如服务数据对象(SDO)(参见参考资料)。
For example, you might want to use another generic type system such as Service Data Object (SDO) (see Resources).
语言中的委托、事件及异步委托是通用类型系统所特有的语言特性,它功能强大,使用方便。
Delegate, events and asynchronous delegate which is the special peculiarities in common type system are power and convenient.
公共语言运行时通过指定和强制通用类型系统以及提供元数据为语言互操作性提供了必要的基础。
The common language runtime provides the necessary foundation for language interoperability by specifying and enforcing a common type system and by providing metadata.
在阅读了本篇文章后,您应该学会建立分部及通用类型的模型,和使用映射模型来设计源代码的文件系统概览。
Also, after reading this article, you should be able to model partial and generic types, and use a mapping model to design the file system view of the source code.
在文本分析中,用于派生其他类型的概括性的通用类型被称为annotation类型,它由UIMA框架提供。
A general and common type that is often used in text analysis to derive additional types is the Annotation type, which is provided by the UIMA framework.
如果没有这个给定名称的组,就需要创建该组并为它提供通用类型,这意味着它可以用于电子邮件或访问控制。
If there is no group with this name, it is created and given the multipurpose type, meaning it may be used for email or access control.
如你所见,类的成员变量的类型是通用类型,但是你可以改进产生器,使之知道一个变量应该包含一个数字或一个函数。
As you can see the type of the class variables is generic, but you can improve the generator to understand if a variable should contain a number or a function.
要说明的一点是,我将Origin类型连同其它一些通用类型一起放在了DataTypes模式中(请参阅清单2)。
One thing to note is that I put the Origin type along with other generic types in a DataTypes schema (see Listing 2).
它定义了动态字符串、通用类型、字符集合、列表和其它基本数据类型以及可遗址的线程和同步对象,ip套接字以及命名管道。
It defines dynamic strings, variants, character sets, lists and other basic data types along with portable thread and synchronization objects, IP sockets and named pipes.
list和sortedlists可被用作储存一些信息,您可以把它们建立为通用类型的模型并用作储存相关信息(书籍)。
Since list and sorted lists can be used to store any object, you will model them as generics and instantiate them to store specific objects (books).
对于超类,您可以引用“core”方案之中“Unit”或者“SoftwareComponent”定义的通用类型,或者您可以引用另一种预定义域中更特定的单元。
For the supertype, you can refer to the general types "unit" or "SoftwareComponent" defined in the "core" schema, or you can refer to a more specific unit in another predefined domain.
所以接下来的几节我们将讨论程序要用到的几种通用数据类型——以及如何处理它们。
So the next few sections will describe some common kinds of data that programs expect — and what to do about them.
基本的主题和映射类型是通用的,非常灵活,能够容纳各种不同的可读信息。
The base topic and map types are general and flexible so they can accommodate a wide variety of readable information.
主题有许多不同类型,最通用的是概念、任务和引用。
Topics can be of many different types, the most common being concepts, tasks, and reference.
如果提供的类是泛型类,那么即使为这个类提供了最通用的参数类型定义,也会处理类的所有字段。
If that supplied class is a generic class, all fields of the class are processed as though the most general possible parameter type definitions were supplied for the class.
因为这是所有类型项目的通用步骤,所以本文中不会详细讨论。
Because it is a generic step for all kinds of projects, it is not discussed in detail in this guide.
对于讨论会,最重要的技术问题是维护一组通用的数据类型。
The most important technical aspect of a review group is maintaining a common set of data types.
JSDT使用库机制管理项目中的通用对象、变量和类型。
JSDT USES a library mechanism to manage common objects, variables, and types in a project.
定义模型的部分过程是标准化一组通用元数据属性(如标题、说明和作者等),这些属性是所有内容类型中所通用的。
Part of the process of defining the model was to standardize on a set of common metadata properties (such as title, description, authors, and so on) which are common across all content types.
通过使用不同资产类型的通用表示形式,可极大地简化存储库实现。
The use of a generic representation for the different asset types can significantly simplify the repository implementation.
这是JMX事件通知模型中的通用事件信号类型。
This is the generic event signal type in the JMX events notification model.
这是JMX事件通知模型中的通用事件信号类型。
This is the generic event signal type in the JMX events notification model.
应用推荐