接下来,观察模式引进的新复合类型。
Next, look at the new complex types introduced by the schema.
复合类型由简单类型组成但只代表一个实体。
Compound types are formed from simple types but represent a single entity.
复合类型是另一种原因的例外。
条目的复合类型中的Anonymous类型。
某些复合类型需要更多内存。
因此,复合类型是属于匹配算法之外的。
Therefore, complex types are excluded from the matching algorithm.
清单26演示了在SOAP请求中复合类型的使用。
Listing 26 demonstrates the use of compound types in SOAP requests.
类型继承关系只能连接到复合类型形状。
Type inheritance relationships can only be connected to composite type shapes.
有什么不同寿命的复合类型和标量类型?。
What is the difference of lifetimes of compound types and scalar types?
复合类型取自请求体。
这里您在复合类型Mobile中定义了一个简单类型。
Here you are defining a simple type inside the complex type, Mobile.
复合类型只能通过自定义绑定来绑定到URI。
A complex type can only bind to the URI through a custom binding.
在发送简单类型之前,请考虑将值封装成复合类型。
Before sending a simple type, consider wrapping the value in a complex type instead.
默认地,复合类型的参数是通过请求体来解序列化的。
By default, parameters with complex types are deserialized from the request body.
数组、结构体和联合等复合类型只会简单地显示其类型,如图4所示。
Complex types, such as arrays, structures and unions, simply give their type as shown in the Figure 4.
请注意到输入消息中包含了复合类型FundsOrderData。
Please notice that the input message contains the complex type FundsOrderData.
更为有趣的是,所有四个新的复合类型都允许通配符属性,如图10所示。
More interestingly, though, all four of these new complex types also allow for wildcard attributes, as shown in Figure 10.
这些更改的结果是一个对于条目复合类型更为完整的定义,如列表4所示。
These changes result in a more complete definition for the Item complex type, shown in Listing 4.
考虑下面linkedlist类的单连接执行,它有一个悬挂复合类型。
Consider the following singly linked implementation of the LinkedList class, with a dangling composite.
根据后期生成的结果,现在只有一个Customer复合类型而不是两个。
And there will be only one Customer complex type instead of two, depending on which was generated later.
如果你用上述方法,几个元素指的可以是相同的复合类型,就像这样。
If you use the method described above, several elements can refer to the same complex type, like this.
最后一个问题是,购买订单本身在入门中是作为一个全局元素声明的,属于全局复合类型。
The final issue is that the purchase order itself is defined in the primer as a global element declaration, with a global complex type.
用其他类型定义的类型,如引用。第四章将介绍另外两种复合类型:指针和数组。
A type, such as a reference, that is defined in terms of another type. Chapter 4 covers two additional compound types: Pointers and arrays.
在这种复合类型中,进行交互的消费者和提供者被看作是对等的伙伴,互相交换数据和控制信号。
In this type of composition, the interacting consumer and provider are viewed as peers, exchanging data and control signals.
这看起来是多余的,因为默认的转换为模型类型创建了一个复合类型,但是请仔细观察原型的属性。
This may seem redundant, as the default transformation creates a complex type for this model type, but take a closer look at the properties of the stereotype.
我们将探讨的第一个关于空指针异常的错误类型,是一个我称之为悬挂复合类型的错误类型。
The first bug pattern relating to null-pointer exceptions that we'll explore is one that I call the Dangling Composite pattern.
而对于含有内置类型或复合类型成员的类,则通常应该定义他们自己的默认构造函数初始化这些成员。
Classes with members of built-in or compound type should usually define their own default constructors to initialize those members.
为了避免这个问题的出现,您可以定义复合类型来封装数值类型,并将这个复合类型置为空来表示空引用。
To avoid this problem, you can define a complex type to wrap the value type and set the complex type to be null to indicate a null reference.
讨论了复合速率系数随电子温度,原子序数,复合类型以及双激发态中俘获电子的主量子数的变化关系。
The variation of state to state DR rate coefficients with the electronic temperature, DR type, and the principal quantum number of intermediate resonance states is discussed.
讨论了复合速率系数随电子温度,原子序数,复合类型以及双激发态中俘获电子的主量子数的变化关系。
The variation of state to state DR rate coefficients with the electronic temperature, DR type, and the principal quantum number of intermediate resonance states is discussed.
应用推荐