The element type of the array and the type of the value must be of the same type.
数组的元素类型和值的类型必须相同。
The third element of the array is the number of points for this assignment type, so I have to invoke the to_s method to convert that integer into a string.
数组第三个元素是该任务类型的分数,所以我必须调用to_s方法,将该整数转换为字符串。
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.
用于数组类型的组件的值可以包含0个或1个元素,用于集合和树类型的组件的值可以包含0到多个元素。
And the use of the filter function on the Array type to apply the "greater-than," "equals," and "less-than" functions to each element therein.
可以对Array类型使用filter函数,从而对其中的每个元素应用“greater - than”、“equals”和“less -than”函数。
Notice the values of the type attribute in this definition file: the element is mapped to an array, while the nested s are mapped to simple string values.
注意定义文件中type属性的值:元素映射到一个数组,嵌套的映射为简单字符串值。
An array of assignments of this type, in which each element is a two-element array that contains the high and low values to generate for the assignment.
该类型任务的数组,其中每个元素是一个两个元素的数组,该数组包含为任务生成的最高和最低分值。
An element contains a name, a namespace, a MIME type, and a binary array of data.
元素包含了名称、名称空间、MIME类型和二进制数据数组。
We can call this method with any kind of collection whose element type is a supertype of the element type of the array.
我们可以使用其元素类型是数组的元素类型的一个子类型的任何集合调用这个方法。
ArrayStoreException - the runtime type of the specified array is not a supertype of the runtime type of every element in this collection.
如果指定数组的运行时类型不是集合中每个元素运行时类型的父一级类型时抛出。
For example, languages that provide for the array data type also provide an operator that allows the uses to read out the value of an array element.
例如,提供数组数据类型的程序设计语言也提供一种操作符使用户能读出数据元素值。
You can then iterate over this array, determine what attributes were applied based on the type of each array element, and extract information from the attribute objects.
然后,您可以逐一查看阵列,以每项阵列元素的类型为基础来决定所要套用的属性,并且从属性物件撷取资讯。
Once you declare an array variable, you cannot change its rank or its element data type.
宣告阵列变数后,就不可再变更其阵序或其元素资料型别。
Implicitly typed arrays, a form of array creation and initialization that infers the element type of the array from an array initializer.
数组创建和初始化的形式,它从数组初始化器推导出数组的元素类型。
If the array's element type does not have a constructor, the elements of the array will be initialized with the corresponding zero representation for that type.
如果阵列的元素型别没有建构函式,则阵列的元素将会以该型别的对应零表示初始化。
Therefore according to the type of array element is different, the array can divide again for numerical array, the string array, pointer arrays, structure array, etc all categories.
因而按数组元素地类型分歧,数组又可分为数值数组、字符数组、指针数组、构造数组等各类类别。
For the parameter array, supply a one-dimensional array with the same element type as the parameter array's element type.
对于参数数组,请提供元素类型与参数数组的元素类型相同的一维数组。
Its default value is an empty one-dimensional array of the parameter array's element type.
其默认值是参数数组元素类型的空一维数组。
Gets a static array element contained in the wrapped type.
获取已包装类型中包含的静态数组元素。
When we allocate an array of objects of a class type, then that type's default constructor ( Section 2.3.4, p. 50) is used to initialize each element.
动态分配数组时,如果数组元素具有类类型,将使用该类的默认构造函数( 第2.3.4节)实现初始化;
This means that the rank and the element data type must remain the same, because they are inherently part of the array variable's data type.
这表示阵序和元素资料型别必须保持相同,因为它们都是阵列变数资料型别的固有部分。
ArrayStoreException - if the runtime type of the specified array is not a supertype of the runtime type of every element in this collection.
如果指定数组的运行时类型不是集合中每个元素运行时类型的父一级类型时抛出。
Ensure that one of the property parameters specifies an array with the same rank (number of dimensions) and element data type.
确保属性的一个参数指定了一个具有相同秩(维数)和元素数据类型的数组。
PT_NULL the array element is unused; other members' values are undefined. This type lets the program header table have ignored (whole) entries.
NULL该类型程序头表表项未使用;该表项其他的成员值都是未定义的。这种类型让程序头表忽略程序头表项。
Ensure that one of the procedure parameters specifies an array with the same rank (number of dimensions) and element data type.
确定其中一个程序参数已指定具有相同阵序 (维度数目)和元素资料型别的阵列。
An array type describes a contiguously allocated nonempty set of objects with a particular member object type, called the element type.
数组类型同样是派生类型,它描述了某种对象的连续的非空集合,由其中元素类型和元素个数来刻画。
Array types are characterized by their element type and by the number of elements in the array.
由指针和数组定义可以看出,指针和数组是完全不同的类型。但数组名是指针吗?
Array types are characterized by their element type and by the number of elements in the array.
由指针和数组定义可以看出,指针和数组是完全不同的类型。但数组名是指针吗?
应用推荐