空白的括号对代表空的列表。
缺省情况下,将返回一个空的列表,这表明没有子对象。
By default, an empty list would have been returned, which indicates no children.
也就是说,你可以传入任意多的,以分号分隔的字符串(包括空的列表)。
That is, you can pass in as many comma-separated strings as you want (including an empty list).
我们希望makeList能返回一个List[String],但是当strings.length等于0 时,我们错误地假设List(0)是一个空的列表并且将其返回。
We intended for makeList to return a List[String], but when strings.length equals zero, we returned List(0), incorrectly “assuming” that this expression is the correct way to create an empty list.
在这个示例中,如果读取新闻提要失败,那么会产生空的新闻列表。
A failure to read a news feed in your example produces an empty list of news.
对于需要额外空间的列表,每个列表项之间引入空段落。
For lists that needed extra space, an empty paragraph was introduced between each list item.
然后,我将把您的公司从潜在问题客户列表中划掉,然后腾出空来参加一门或两门课程的学习。
Then, I will cross your company off my potential problem-client list and maybe make room on my calendar for taking a class or two.
如果用空的初始化器列表对变量进行初始化,对象为初始化值。
If a variable is initialized with an empty initializer list, the object is value initialized.
返回到清单3 ,您可以看到您也有一个空的无序列表。
Returning to Listing 3, you can see that you also have an empty, unordered list.
可以看到中介处理程序的空列表。
空列表被认为是升序的。
如果列表为空,就会增加等待线程的数量,并阻塞当前线程。
If the list is empty, the number of waiting threads is incremented and the current thread is blocked.
如果这个列表为空,就不存在任何模块依赖项,因此这个模块就是要删除的模块(否则会返回一个错误)。
If this list is empty, no module dependencies exist and the module is a candidate for removal (otherwise, an error is returned).
显示空的IP筛选列表。
第一个if 语句在列表为空的情况下中断递归,返回零值。
The first if statement breaks the recursion if the list is empty, returning zero.
如果列表是空的,那么返回False。
不过它确实允许一个空的nil列表。
filter()方法首先检查列表是否为空,这是该方法的重要退出条件。
The filter() method first checks to see if the list is empty — the critically important exit condition for this method.
在授予访问映像的权限之前,运行命令db2adutlqueryacccess forall返回一个空列表。
Prior to granting the access to the image, issuing the command db2adutl queryacccess for all returns an empty list.
(不过它确实允许一个空的nil列表。)
最初时,数据库是空的,从而在我们的列表中不会显示任何任务。
Initially, the database will be empty and thus no tasks will appear on our list.
因此,如果您尝试创建新列表,并将其设置为对这些方法之一调用所产生的结果,则会得到一个空列表。
So, if you try to create a new list and set it to be the result of a call to one of these methods, you'll get an empty list.
右上方是该企业应用程序内所有模块的列表;这个列表是空的,因为该企业应用程序还只是一个空壳。
At the top right is a list of all modules within this enterprise application; this list is empty because the enterprise application is still only an empty shell.
在这个示例中,末尾的空列表意味着您构造了一个结构良好(合适)的列表。
In this example, the empty list at the end means that you have constructed a well-formed (proper) list.
您将看到资源引用的一个列表,这个列表可能会是空的。
You will see a list of resource references, which may be empty.
一个度量必须有一个维列表为空的聚合,其他聚合必须都具有明确的维列表。
A measure must have one aggregation with an empty list of dimensions, and any other aggregations must each have an explicit list of dimensions.
如果遍历了所有检索到的区域设置后,该列表为空,则会将门户缺省区域设置添加到列表中。
If the list is empty after going through all the retrieved locales, the portal default locale is added to the list.
如果这个复选框没有选择,那么产生的WSDL的设置为(空的),如列表7所示。
If this checkbox is not selected, the generated WSDL is set to (null), as shown in Listing 7.
如果是,则返回零,因为一个空列表的所有成员的和为零。
If so, we return zero because the sum of all members of an empty list is zero.
当遇到一个空列表(写为)时,您就会知道已经到了列表的末尾。
You know you're at the end of a list when you hit the null list, written as .
应用推荐