You can find more information about the wrapped array style in the article "Array Gotcha—Null Array vs. Empty Array".
您在《ArrayGotcha—Null Arrayvs.Empty Array》这篇文章中可以找到更多关于包装排列风格的信息。
We read an array of records and then write the array.
我们读取一个记录数组,然后写入该数组。
You put those into an array and then iterate over the array.
将它们放入一个数组,然后对该数组进行迭代。
Finally, convert the list of completion proposals to an array and return this array as the result, as shown in Listing 6.
最后,将自动完成建议列表转换为一个数组,并将这个数组作为结果返回,如清单6所示。
This tip addresses one of those cases: the distinction between an array which is null, and an array which has no elements.
这里介绍的技巧用于处理其中的一个情况:一个为“零”的数组和一个没有元素的数组之间的差别。
For arrays, additional methods are also generated to store and retrieve single values in the array; these methods take an array index as an argument.
对于数组而言,也生成了额外的方法来存储并检索数组中的单一值,这些方法将数组索引作为参数。
Thus, I can cast the result of the bitwise operation as a byte, put the byte in a single-byte array, and return the array to the calling application.
因此,我可以将按位操作的结果造型为一个字节,将这个字节放入一个单字节数组,并将这个数组返回给调用应用程序。
The first array, the topic array, is an array of String objects.
第一个数组,主题数组,是一个字符串对象数组。
A structure is an array of views, and a view is an array of cells.
一个结构是一系列视图,而一个视图则是一系列单元格。
An array and a view into that array are distinct concepts and should be modeled as such.
数组和它的视图在概念上是不同的,因此在建模时也应不同。
It stores all the account data information in a PHP associative array and returns that array to the caller.
它将所有帐户数据信息存储在一个php关联数组中,并将这个数组返回给调用者。
You want to iterate through the list, breaking each word into a sorted array of letters, then joining the array again.
需要遍历该列表,将每个单词拆分为经过排序的字母数组,然后再次合并数组。
The function takes two parameters: "array of rows" and "array of columns".
这个函数接受两个参数:“行数组”和 “列数组”。
This XML "array" is not strictly an array.
严格来说,这个XML“数组”并不是一个数组。
The cipher byte array is then decrypted, and the decrypted byte array is returned as a text string.
接着对该密码字节数组解密,解密的字节数组作为文本字符串返回。
When the script is submitted, we want to add the new item to an inventory array and save the array along with the character sheet.
在提交脚本后,需要将新装备添加到武器清单数组中,并且连同角色表一起保存数组。
Since this command expects an array, the original hash is unwound into an array in such a way that the values follow their respective keys in the array.
由于这个命令需要以一个数组作为参数,所以将原来的哈希表拆解为一个数组,拆解的方式是,在数组中,每个值跟在它的键的后面。
It USES reflection to create a new array of the same type, then copies all the data across from the old array before returning the new array.
它使用反射来创建相同类型的新数组,然后在返回新数组之前,在老数组中复制所有数据。
Array: An array of values for a given element, typically user IDs.
数组:一个已知元素的值的数组,尤其像用户ID。
This array contains the database column names as the array keys and the database field values as the array values.
这个数组以数据库列名作为数组键,以数据库字段值作为数组值。
The vendor detail, date, and order ID number are in expected places in the array, but the array indexes of the subtotal and subsequent lines depend on the number of items detailed.
此商家的细节、日期及订单id号处于此数组的预期位置,但小计及后续行的数组索引则依赖于所详细说明的项的数量。
Array security label component: an array is an ordered list of elements that can be used to represent a simple hierarchy.
数组安全标签组件:数组是一组有序的元素,可用于表示简单的层次结构。
To get a value out of the array, specify the array reference (see Listing 15).
若要获取数组中的值,您可以指定数组引用(请参见清单15)。
Display a simple variable, iterate over an array or associative array, and display the members of a class.
显示简单变量,迭代整个数组或关联数组,以及显示类的成员。
On a JVM that provides a direct pointer to the array, the array will be updated; however, on a JVM that returns a copy it will not be.
在提供直接指向数组的指针的JVM上,该数组将被更新;但是,在返回副本的JVM上则不是如此。
The version presented in Listing 1 USES a loop to process the input array and populate the output array.
清单1中的版本使用循环来处理输入阵列并填充输出阵列。
The values from the form are stored in PHP's $_GET array, which is an array of HTTP get parameters.
来自表单的值存储于PHP的 $_GET数组,它是一个HTTPget参数数组。
An array constructor with no elements represents an empty array (that is, an array with cardinality equal to 0).
没有元素的阵列构造函数表示空阵列(也就是说,基数等于0的阵列)。
We store each line in its own array element — in an array called Cmds.
我们将每一行存储在其自己的数组元素内——一个叫做Cmds的数组内。
The following commands would dump this file into an array, then print that array
以下命令将把此文件转储为数组,然后打印该数组
应用推荐