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》这篇文章中可以找到更多关于包装排列风格的信息。
Generally speaking, for a null array of objects such as SimpleTask, the returned SOAP message will look like Listing 14.
一般来说,对于零对象数组(如SimpleTask),返回的SOAP消息如清单14所示。
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”(参见参考资料)这篇文章中可以找到更多关于包装排列风格的信息。
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)数组。
One easy trap to fall into here is to guess that a null array inside a bean is really represented by the XML in the second column.
很容易落入的一个陷阱就是猜测在表的第二列中用XML表示在Bean中的“零”(null)数组。
If you return a null array, the clients of the code must write extra code to check whether the return value is null (as shown in Listing 13).
如果您返回零数组,该代码的客户端必须编写额外的代码来检查返回值是否为零(如清单13所示)。
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.
但是,当处理数据集合时,零数组(返回零)和空数组(返回其本身)需要密切关注。
A null return value implies all active slices, while an empty array will raise an exception.
空返回值意味着所有片都是活动的,而空数组则会引发一个异常。
Else, it goes through the binding vector array looking for a non-NULL pointer to binding handle.
否则,它循环遍历绑定向量数组,寻找非null的绑定句柄指针。
When the value of an array variable is NULL, there is no memory allocated for it.
在阵列变量值为 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.
清单2显示具有4个元素的阵列构造函数,其值分别由NULL常数、变量、文字和标量子查询提供。
The regmatch(re, text) function compares the regular expression to the text, yielding either Null for no matches or an array of pairs of integers (a two-element array).
regmatch(re,text)函数将比较正则表达式和文本,如果没有匹配的话就生成Null 值,否则生成一个由成对整数组成的数组(双元素数组)。
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。
If no additional roles are required, this parameter must be an empty array instead of null.
如果不需要任何额外的角色,那么该参数将为一个空数组,而不是null。
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或空值的数组产生混淆。
We must remember to check for listFiles returning null and turn that into an empty array.
我们必须记得要检查listFiles是否返回null,然后使其变成空数组。
There are also some tools that will detect areas in source code that are likely to access null Pointers or addresses beyond array boundaries.
还有一些工具能够检测到源代码中可能访问null指针或在数组范围之外寻址的位置。
The second argument, which is left null here, is a similar array of TrustManager objects, which we'll play with later.
第二个参数(这里保留为null)类似于TrustManager对象数组,稍后我们将使用它们。
Since we implement no metadata service in this example, the method returns an array with length 0 (returning null would have indicated an error).
由于我们在这一示例中没有实现任何元数据服务,所以该方法返回一个长度为0的数组(返回null将表明有错误)。
For that effect, JSON defines the following main data structures: number, string, Boolean (true and false), array (an ordered sequence of values), object (collection of key value pairs), and null.
为了实现该目的,JSON定义了以下主要数据结构:数字、字符串、布尔值(真或假)、数组(值的有序排列)、对象(键值对集合)和null。
This tip addresses one of those cases: the distinction between an array which is null, and an array which has no elements.
这里介绍的技巧用于处理其中的一个情况:一个为“零”的数组和一个没有元素的数组之间的差别。
Suppose a .NET client sends out an array with a null element as shown in the code in Listing 9.
假设.NET客户端发出含有空元素的数组,代码如 清单 9所示。
The best practice is not to pass an array with null elements between Web service clients and servers.
最佳的实例不是将含有空元素的数组传递到Web服务的客户端及服务器上。
Execv (2) is one of the simpler ways to replace the current image, because it doesn't need information about the environment and it USES the null-terminated array.
execv(2)是替换当前映像的较简单方法之一,因为它不需要关于环境的信息,并且它使用以Null结尾的数组。
This ensures that the indexes up through I always have CARDS in them, and that the null values are always moved to the end of the array.
这确保了指标透过我总是对他们是有卡,而且总是空值移动到数组的末尾。
Other options are execl(2), which takes the parameters in individual arguments, or execvp(2), which also takes a null-terminated array of environment variables.
其他选项包括execl(2)(它单独接受各个参数)或execvp(2)(它也接受一个以 Null 结尾的环境变量数组)。
Points to a short-integer array that contains the initial bitmap bit values. If it is NULL, the new bitmap is left uninitialized.
指向一个含有位图初始化位值的短整形数组。如果为空,被创建的位图不进行初始化。
A null synthesis method for circular array without coupling is presented, and the effects of coupling to null are also analyzed by the method of moments.
给出一种无互耦情况下圆形阵列天线零点综合的有效方法,分析了互耦对零点综合的影响,并采用互阻抗近似的方法在考虑互耦时对零点进行控制。
But for weak interference, because the null formed by power inversion array is shallow, the performance for suppression of interference is poor.
但对于弱干扰源的情况,该算法形成的零陷不够深,对干扰的抑制有限。
But for weak interference, because the null formed by power inversion array is shallow, the performance for suppression of interference is poor.
但对于弱干扰源的情况,该算法形成的零陷不够深,对干扰的抑制有限。
应用推荐