数组类型中的命名空间问题
业务项编辑器可以方便地将属性定义为数组类型。
The Business Item Editor makes it easy to define the attribute as an array type.
当您建立一个数组类型时,数组的大小并不确定。
When you declare an array type, the size of the array is not specified.
获取或设置要创建的数组类型。
数据类型可以是简单、复杂、派生或者数组类型。
关系数据库不同于编程语言,它们不具有数组类型。
Relational databases aren't like programming languages. They don't have array types.
它有一个Unicode的字符串类型和数组类型。
所有数组类型都可用的另一个方法是toString 。
The other method that is now available for all array types is toString .
因为数组不能复制,所以无法编写使用数组类型形参的函数。
Because we cannot copy an array, we cannot write a function that takes an array type parameter.
所使用的表示法取决于字段是简单对象类型、简单原语类型还是数组类型。
The representation used depends on whether the field is a simple object type, a simple primitive type, or an array type.
将数组转换为指向数组类型的指针,将函数转换为指向函数类型的适当指针。
An array is converted to a pointer to the type of the array; a function is converted to the appropriate pointer to function type.
OMGIDL开发者面临的挑战是创建一组数组类型,它可以轻易地被映射到实现语言中。
The challenge for the OMG IDL developers was to create a set of array types that would easily map to the language implementations.
若要将某个变量声明为数组类型,可以使用 $declare-a myarray。
To declare a variable as an array type, use $ declare -a myarray.
要将属性定义为数组类型,只需将maximum属性的缺省值从1更改为n,如图3所示。
To define attributes as an array type, you just change the default value of the Maximum attribute from 1 to n, as Figure 3 shows.
PHP的数组类型可同时支持简单列表和字典或散列,但Python却将这两者分开。
PHP has an array type that doubles as as a simple list and a dictionary or hash; Python separates the two.
这个子接口提供了关于数组类型的信息,数组的组件类型可以是参数化的,也可以是一个类型变量。
This subinterface provides information about array types, where the component type of the array is either parameterized or a type variable.
返回一个以本来顺序包含列表所有元素的数组,返回数组的返回时类型为指定数组类型。
Returns an array containing all of the elements in this list in proper sequence; the runtime type of the returned array is that of the specified array.
可以用这些方法很方便地断言脚本的运行是否正确,以及断言各种数组类型的长度和内容等。
These methods can be handy when it comes to asserting that a script correctly runs, asserting the lengths of various array types and the contents of various array types, and more.
二者的实现基础完全相同,即在编译时将“var”替换成为分析得到的正确的变量或数组类型表达式。
Both work fundamentally the same way, at compile time the keyword "var" is replaced with the correct scalar or array type for the associated expression.
用于数组类型的组件的值可以包含0个或1个元素,用于集合和树类型的组件的值可以包含0到多个元素。
Values for array type components can contain zero or one element, and values for set and tree type components can have zero or more elements.
类型名可能包含尾部字符,尾部字符表示有关该类型的附加信息,如类型是引用类型、指针类型还是数组类型。
Type names may include trailing characters that denote additional information about the type, such as whether the type is a reference type, a pointer type or an array type.
对于任意数组类型,都可以调用 Arrays.hashCode(arrayVar) 方法来获得格式良好的哈希码。
For any array type, you can call Arrays.hashCode(arrayVar) and get a well formed hash code.
数组类型的变量有三个重要的限制:数组长度固定不变,在编译时必须知道其长度,数组只在定义它的块语句内存在。
A variable of array type has three important limitations: Its size is fixed, the size must be known at compile time, and the array exists only until the end of the block in which it was defined.
下一种数组类型是soap 1.1规范所设置的restriction从soapenc:Array中派生出来的。
The next array type is derived from soapenc: array by restriction as set down by the soap 1.1 specification.
一种数组类型到另一种数组类型的转换是扩展转换还是双字节到单字节转换,取决于各自元素的转换是扩展转换还是双字节到单字节转换。
A conversion of one array type to another is widening or narrowing depending on whether the conversion of the respective elements is widening or narrowing.
清单2的代码使用内部的PrimitiveTypeDescription和arraytypedescription类直接处理原生类型和数组类型。
The Listing 2 code handles primitive and array types directly, using the inner PrimitiveTypeDescription and ArrayTypeDescription classes.
要在JBoss 上部署Web服务,必须进行以下步骤:(请注意,我们必须使用 JBoss4.0.4,因为在 JBoss的早期版本上部署数组类型会出现问题。)
To deploy our web service on JBoss, we have to take the following steps: (Note that we had to use JBoss 4.0.4 due to problems deploying array types on earlier versions of JBoss.)
当然,字符串数组不是惟一可以接受或返回的数组类型,INTEGERARRAY_HOLDER、LONGARRAY_HOLDER、和lsxsd.lss 文件中定义的类似的类也可以为其他原生数据类型提供相同的功能。
Of course, string arrays are not the only kind of arrays you can accept or return. There are also INTEGERARRAY_HOLDER, LONGARRAY_HOLDER, and similar classes defined in the lsxsd.lss
当然,字符串数组不是惟一可以接受或返回的数组类型,INTEGERARRAY_HOLDER、LONGARRAY_HOLDER、和lsxsd.lss 文件中定义的类似的类也可以为其他原生数据类型提供相同的功能。
Of course, string arrays are not the only kind of arrays you can accept or return. There are also INTEGERARRAY_HOLDER, LONGARRAY_HOLDER, and similar classes defined in the lsxsd.lss
应用推荐