If you append to a string value, it is converted to an array value and then appended to.
如果是添加一个字符串,该字符串会被转换为数组格式后再进行添加。
You perform the same procedure to create a String array value by adding additional values to the Arguments field.
通过向Arguments区域添加额外的值,您就可以执行相同的程序以创建一个String数组。
The code in the method then USES the items array to look up the value and returns it as if there had been a member variable there for that keyword, in particular.
然后,方法中的代码将使用项阵列来查找值并返回该值,就像有一个专门用于该关键字的成员变量在那儿一样。
A null return value implies all active slices, while an empty array will raise an exception.
空返回值意味着所有片都是活动的,而空数组则会引发一个异常。
When they're found, update the value array with the corresponding index.
找到这些字段之后,用对应的索引更新值数组。
The simplest approach is always to treat the return value as an array and loop over it.
最简单的办法是将返回值永远看作一个数组并循环遍历该数组。
I then retrieve the first value of this array and return it.
最后取得该数组的第一个值并返回。
To get a value out of the array, specify the array reference (see Listing 15).
若要获取数组中的值,您可以指定数组引用(请参见清单15)。
Commas separate the values within each annotation, as well as the value within a single array.
逗号分隔每个注释内的值,以及单个数组内的值。
The element type of the array and the type of the value must be of the same type.
数组的元素类型和值的类型必须相同。
For example, the value in slot 0 of the first array has a corresponding associated value in slot 0 of the second array.
例如,第一个数组的位置0的值与第二个数组的位置0的值相关联。
This is the outline of a JSON object with a single property named items, whose value is an array of objects.
上述是一个JSON对象的概览,该对象具有一个单一属性,名为items,其值为一个对象数组。
An empty or null array is not a valid return value.
空的或null数组不是一个有效的返回值。
JSONArray represents an indexed array, so its put method takes only a value.
JSONArray代表索引数组,所以它的put方法只接受一个值。
The accumulate method is like put except that it appends its value to an indexed array identified by the key.
accumulate方法与put类似,区别在于它把值添加到按照键进行识别的索引数组。
Lines 41-49 find the highest value in the passed-in array.
第41 - 49行确定数组中的最大值。
This attribute's value is an array of GridCell objects.
这个属性的值是一个GridCell对象数组。
Third, I bitwise XOR the array access with the previous value of state to ensure that every access is carried out.
第三,对数组访问和以前的state值执行位XOR计算,以确保执行每个访问。
Return, respectively, an empty string value or an empty string array.
它们分别返回一个空的字符串值或者一个空的String数组。
But as we hope we've shown in the table, that really represents an array with a single element whose value is null, not a null array.
但是,正如我们希望的,在表中已经显示,它真正表示的是含有单一元素的数组,元素的值为“零”(null),而不是一个“零”(null)数组。
When the value of an array variable is NULL, there is no memory allocated for it.
在阵列变量值为 NULL 时,不为它分配内存。
You can do it by accessing internal AppConfig: : State data or the array reference returned to you as the value of the array variable, but it is not recommended that you do so.
可以通过访问内部的AppConfig:State数据或作为数组变量值返回给您的数组引用来实现这一步,但我们建议您不要这样做。
For each element of the array, the demo_xml.tpl template generates an XML element containing the value retrieved from the array.
demo_xml . tpl会为数组中的每一个元素生成包含从数组查询到的值的xml元素。
Note that you use (i+1) because in the array, the counter value of the first element is zero; as you want to start with the first element, the 1 is added.
注意,这里使用了 (i+1),因为数组中第一个元素的索引号是0,要从第一个元素开始,必须加上 1。
The addProduct() method in Listing 9 accepts a new product record as an array of key-value pairs and then uses the Zend_Db object's insert() method to write this record to the database table.
清单9中的 addProduct() 函数接收一个新产品记录作为键-值对数组,然后使用 Zend_Db对象的insert() 函数将记录写入到数据库表中。
The second value in the array, at response[1], is the customer's address and it takes a little more processing.
第二个值response[1],即客户地址,则需要更多一点处理。
It dumps the value for display as an array.
它对值进行转储以便作为数组显示。
Every value is a string or an array of strings.
每个值就是一个字符串或字符串数组。
Listing 5 sets the target spreadsheet and worksheet and then creates an array of row data containing column-value mappings.
清单5设置了目标电子表格和工作表,然后创建了一个行数据数组,包含列-值映射。
It first defines a new element, , and links it to an options array containing key-value pairs.
它首先定义了一个新元素 ,然后将它链接到一个包含名称-值对的选项数组。
应用推荐