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》这篇文章中可以找到更多关于包装排列风格的信息。
Next, an empty array is created.
接下来将创建一个空数组。
(是一个空数组)。
In this case, an empty array is passed to the procedure.
这种情况下给过程传递的是空数组。
A parameter specifies whether to return empty array elements.
参数指定是否返回空数组元素。
In case of an error, this function returns an empty array to the caller.
在发生错误的情况下,此函数会向调用者返回一个空数组。
When dealing with mobile Web services, an empty array can be a problem.
当处理移动Web服务时,空数组可能是一个问题。
On a machine where ps is not a valid command, this should return an empty array.
在ps不是有效命令的机器上,这应该返回空数组。
In some cases, the IP address range is returned as an empty array or an empty string.
在某些情况下,IP地址范围返回为一个空数组或一个空字符串。
If no additional roles are required, this parameter must be an empty array instead of null.
如果不需要任何额外的角色,那么该参数将为一个空数组,而不是null。
A null return value implies all active slices, while an empty array will raise an exception.
空返回值意味着所有片都是活动的,而空数组则会引发一个异常。
We must remember to check for listFiles returning null and turn that into an empty array.
我们必须记得要检查listFiles是否返回null,然后使其变成空数组。
Parameters specify the maximum number of substrings to return and whether to return empty array elements.
参数指定要返回子字符串的最大数量,以及是否返回空数组元素。
An array constructor with no elements represents an empty array (that is, an array with cardinality equal to 0).
没有元素的阵列构造函数表示空阵列(也就是说,基数等于0的阵列)。
You can find more information about the wrapped array style in the article "array Gotcha - Null array vs. Empty array".
您在“ArrayGotcha-NullArrayvs .Empty Array”(参见参考资料)这篇文章中可以找到更多关于包装排列风格的信息。
When using arrays or array holders for primitive types, the Web service methods receive empty arrays from the Axis-based test client.
当数组或数组holders用于原语类型时,Web服务方法从基于Axis的测试客户机接收空数组。
Since the result for the empty array case will always be the same, it would make sense to cache the Task representing the empty array.
因为对于空数组结果总会是一样的,所以缓存代表空数组的Task就很合理。
Returns an array of custom attributes defined on this member, identified by type, or an empty array if there are no custom attributes of that type.
返回此成员上定义的自定义特性的数组(由类型标识),如果该类型没有自定义特性,则返回空数组。
If they are not overridden, they will throw UnsupportedActionException or provide another standard default behavior, such as returning an empty array or null.
如果不覆盖它们,它们将抛出unsupportedactionexception或者提供另一种标准的默认行为,比如返回一个空数组或null。
Returns an array of all of the custom attributes defined on this member, excluding named attributes, or an empty array if there are no custom attributes.
返回在此成员上定义的所有自定义特性(命名特性除外)的数组,或如果没有自定义特性,返回一个空数组。
But when dealing with a collection of data, the distinction between a null array (which returns null) and an empty array (which returns itself) needs closer attention.
但是,当处理数据集合时,零数组(返回零)和空数组(返回其本身)需要密切关注。
Otherwise, there can be confusion over whether an empty array is a null object, an array with no elements, or an array with a single object containing null or empty values.
否则,可能对一个空数组是null对象还是没有任何元素的数组,亦或带有一个对象且此对象包含null或空值的数组产生混淆。
It is initialized to a new array object, which is empty or has vehicle elements from when a user entered vehicles earlier.
它被初始化为一个新的数组对象,该数组对象为空或者含有用户先前输入的车辆的车辆元素。
A little extra work would also allow tables containing full struct definitions; a little more would ensure that space isn't wasted at the front of the array with useless empty entries.
我们还要实现另外一些任务:让这个表包含完整的结构定义;还要确保这个数组前面没有空项,这样就不会浪费空间。
Return, respectively, an empty string value or an empty string array.
它们分别返回一个空的字符串值或者一个空的String数组。
In contrast, previous versions of VB required empty parens to signify an array.
相比之下,VB早期的版本要求括号为空,用以表示数组。
If the array is empty, then no matches were found.
如果数组为空,则没有发现匹配项。
An empty or null array is not a valid return value.
空的或null数组不是一个有效的返回值。
However, for the Google AJAX Search API you are using, no other special configuration is required, so just specify the connector name and an empty properties array.
但是,对于您正在使用的GoogleAJAXSearchAPI,则不需要其他特殊配置,只需指定连接器名称和空的属性数组。
By passing in an empty string as the separator, you can perform a simple concatenation of all elements in an array.
如果传递一个空字符串作为分隔符,你可以简单地将数组的所有元素连接起来。
应用推荐