下列范例会指派值给特定的阵列元素。
The following code example initializes the array elements to default values (except for jagged arrays).
每个阵列元素根据包含它们的实际XML标签命名。
Each of the array elements are named after the actual XML tag they are contained within.
因此,条件永远会检查第一个阵列元素。
Therefore, test conditions will always examine the first array element.
最后,它会减少大小回到原始值,并重新初始化所有的阵列元素。
Finally, it decreases the size back to its original value and reinitializes all the array elements.
如果您没有指定阵列元素的型别,则会从阵列常值中的值推断其型别。
If you do not specify a type of the array elements, the type is inferred from the values in the array literal.
当阵列在建构函式的成员初始设定清单中时,阵列元素将预设为初始化。
When an array is in a constructor's member initialization list, the elements of the array will be default initialized.
为了满足以上要求,阵列元素的尺寸必须由目前的微米尺度缩小到纳米尺度。
To achieve such demands, the element size of biochip must be reduced from microscale to nanoscale.
第二个也是较重要的参数是结果阵列,会针对每个执行的批次传回单一阵列元素。
The second and more important parameter is the results array, which returns a single array element for each batch that was executed.
以下是一维不规则阵列的宣告和初始化,其中包含三个大小不同的二维阵列元素。
The following is a declaration and initialization of a single-dimensional jagged array that contains three two-dimensional array elements of different sizes.
例如,%htm:input. \admins %解析到输入消息中名为admins的字符串阵列元素。
For example, % HTM: input. \ admins % resolves to the string array element with name admins of the input message.
然后,您可以逐一查看阵列,以每项阵列元素的类型为基础来决定所要套用的属性,并且从属性物件撷取资讯。
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.
请注意,select语句中的ORDERBY子句不会对阵列元素的顺序产生任何影响,因为它将应用于该语句返回的行。
Note that an order by clause in the SELECT statement would not have any effect on the order of the array elements, as it would apply to the rows returned by the statement.
在包括BULKCOLLECT子句后,该语句可返回多行;INTO 子句中的变量必须是阵列,且每一行存储在一个阵列元素中。
When the BULK COLLECT clause is included, the statement can return multiple rows; the variable in the INTO clause must be an array, and each row is stored in an array element.
forall语句为阵列中的每一个元素重复另外一个语句。
The FORALL statement repeats another statement for each of the elements in an array.
然而,一般情况下,可以以任意顺序设置阵列的元素。
In general, however, the elements of an array can be set in any order.
ORACLE隐式重复FETCH,直到使用了来自游标的所有行并将每一行存储在阵列的一个元素中。
ORACLE implicitly repeats the FETCH until all the rows from the cursor are consumed and stores each row in an element of the array.
清单13显示了FORALL语句的示例,其针对阵列部门中的每一个元素重复INSERT。
Listing 13 shows an example of a FORALL statement that repeats an INSERT for each of the elements in arrays departments.
函数CARDINALITY用于第15行,返回输入阵列中的元素数量。
Function CARDINALITY, used in line 15, returns the number of elements in the input array.
这可以保证稍后无论多少元素添加到阵列,也无论那些元素的大小,都没有必要重新分配。
This guarantees that no reallocation is necessary regardless of how many elements are added to the array later on and regardless of the size of those elements.
此阵列的元素将具有根据被读取的RSS文件的元素和属性命名的键。
The elements of the array will have named keys, associated with the elements and attributes of the RSS file read.
WHILE循环扫描输入阵列;在元素以所需的区域代码开始时,将其添加到输出阵列。
The WHILE loop scans the input array; when an element begins with the required area code, it is added to the output array.
清单2显示具有4个元素的阵列构造函数,其值分别由NULL常数、变量、文字和标量子查询提供。
Listing 2 shows an array constructor with four elements with values given by the NULL constant, a variable, a literal and a scalar sub-query, respectively.
另一方面,在将元素添加到阵列以前,Oracle需要明确的分配操作。
On the other hand, Oracle requires explicit allocation operations prior to adding elements to an array.
涉及阵列的Oracle应用程序经常利用批量绑定操,其针对阵列中的每个元素反复执行SQLdml语句。
Oracle applications involving arrays often make use of bulk bind operations, which execute SQL DML statements repeatedly, for each of the elements in an array.
当你要在这个矩阵列表中选择一个单独的矩阵时,这个分布曲线将显示有一个特殊矩阵值元素的数量。
When you select a single metric in the metric list, the distribution graph will show the number of elements that have a particular metric value.
此外,当你在这个矩阵列表中挑选一个单独的矩阵时,这个视图将为这个被选择的矩阵列出所有的元素以及它们的值。
Again, when you select a single metric in the metric list, the view will list all of the elements and their values for the selected metric.
该数列内的每个元素都是一个散列表,包含事件名称和比赛项目的阵列。
Within each element of the array is a hash table that includes the name of the event and an array of the games played.
没有元素的阵列构造函数表示空阵列(也就是说,基数等于0的阵列)。
An array constructor with no elements represents an empty array (that is, an array with cardinality equal to 0).
拓扑片段是一个JSON对象,包含vm -templates元素,该元素是一个vm模板阵列。
The topology fragment is a JSON object that contains a vm-templates element which is an array of vm-templates.
现有的数组复制元素到一一新的阵列无接头?
Copying element of existing array to a a new array without using splice?
应用推荐