可以看到中介处理程序的空列表。
空列表被认为是升序的。
最后一个示例 ()用来表示一个空列表。
The last example, (), is used to refer to the empty, or null, list.
如果没有,就创建一个空列表,在其中保存出版记录。
If not, I create an empty list in which to store publication records.
如果是,则返回零,因为一个空列表的所有成员的和为零。
If so, we return zero because the sum of all members of an empty list is zero.
在这个示例中,末尾的空列表意味着您构造了一个结构良好(合适)的列表。
In this example, the empty list at the end means that you have constructed a well-formed (proper) list.
Scheme将一个列表定义为一个空列表,或者是一个下半部分为某个列表的pair。
Scheme defines a list as being either the null list or a pair whose bottom half is a list.
如果对nil调用cons,Lisp将nil作为空列表对待,并构建一个含一个元素的列表。
If you call cons on nil, Lisp treats nil as an empty list and builds a list of one element.
因此,如果您尝试创建新列表,并将其设置为对这些方法之一调用所产生的结果,则会得到一个空列表。
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.
我们实际上在前面的Subjecttrait中见过,Subject . observers字段被初始化为一个空列表。
We actually saw this before in our Subject trait, where the Subject.observers field was initialized to an empty list.
本例展示如何创建包含从0到9(包括 0和 9)的简单list,以及如何创建一个空列表和一个包含单个条目的列表。
This example shows how to create a simple list containing the integers from 0 to 9, inclusive, as well as how to create an empty list and a list containing a single item.
使用这个agent指定一个空磁盘设备列表,并为某个应用预订全部或一定百分比的可用磁盘。
Use this agent to specify a list of raw disk devices, and reserve all or a percentage of accessible disks for an application.
然后,我将把您的公司从潜在问题客户列表中划掉,然后腾出空来参加一门或两门课程的学习。
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.
缺省情况下,将返回一个空的列表,这表明没有子对象。
By default, an empty list would have been returned, which indicates no children.
如果列表为空,则返回。
持续进行该操作直到列表为空。
显示空的IP筛选列表。
单击MyTask,应该会看到一个空任务列表屏幕。
Click My task, and you should be presented with an empty task list screen.
在这个示例中,如果读取新闻提要失败,那么会产生空的新闻列表。
A failure to read a news feed in your example produces an empty list of news.
不过它确实允许一个空的nil列表。
如果列表为空,则返回false。
如果列表是空的,那么返回False。
如果列表为空,就会增加等待线程的数量,并阻塞当前线程。
If the list is empty, the number of waiting threads is incremented and the current thread is blocked.
返回到清单3 ,您可以看到您也有一个空的无序列表。
Returning to Listing 3, you can see that you also have an empty, unordered list.
这个程序首先检查边界条件 ——列表是否为空。
This program begins by first checking a boundary condition -- whether or not the list is empty.
因此,在唤醒读线程之后,要确认列表非空,然后再继续处理。
Hence, after waking up the reader thread, verify that the list is not empty, and then proceed.
如果列表为空,则那也是基线条件(返回“false”)。
If the list is empty, then that's a base case (returning "false").
为了进行此操作,需要使用空对象初始化此列表。
To do so, this list needs to be initialized with empty objects.
维列表为空的聚合应用于多维数据集模型中没有被其他聚合使用的所有维。
The aggregation for an empty list of dimensions is applied to all dimensions in the cube model that are not specifically being used by another aggregation.
维列表为空的聚合应用于多维数据集模型中没有被其他聚合使用的所有维。
The aggregation for an empty list of dimensions is applied to all dimensions in the cube model that are not specifically being used by another aggregation.
应用推荐