Returns a pointer to the last item in the list, or null if the list is empty.
返回指向列表中最后一个项的指针,如果列表为空返回空。
Notice that the action taken by both of the getters depends on whether the list is empty.
注意,两个读取器采取的行动依赖于是否链表为空。
This program begins by first checking a boundary condition -- whether or not the list is empty.
这个程序首先检查边界条件 ——列表是否为空。
If the list is empty, the number of waiting threads is incremented and the current thread is blocked.
如果列表为空,就会增加等待线程的数量,并阻塞当前线程。
If the list is empty after going through all the retrieved locales, the portal default locale is added to the list.
如果遍历了所有检索到的区域设置后,该列表为空,则会将门户缺省区域设置添加到列表中。
If there is an empty seat and the upgrade list is empty, does that mean passengers from another section can relocate?
如果这里有一个空位并且升级名单是空的呢?这意味着乘客可以换舱了吗?
The filter() method first checks to see if the list is empty — the critically important exit condition for this method.
filter()方法首先检查列表是否为空,这是该方法的重要退出条件。
If this list is empty, no module dependencies exist and the module is a candidate for removal (otherwise, an error is returned).
如果这个列表为空,就不存在任何模块依赖项,因此这个模块就是要删除的模块(否则会返回一个错误)。
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.
右上方是该企业应用程序内所有模块的列表;这个列表是空的,因为该企业应用程序还只是一个空壳。
If you have already opened the Lotus Symphony package, this list is empty. In that case, click browse to open a file browse window that allows you to locate the Lotus Symphony MSI file.
如果已经打开LotusSymphony包但该列表为空,那么单击browse打开一个文件浏览窗口,从中找到Lotus SymphonyMSI文件。
Of course, part of the power of lists comes in recursive processing of the list elements, which simply means pulling the head from the list until the list is empty, then accumulating the results.
当然,列表的强大力量部分来自于递归处理列表元素的能力,这表示可以从列表提取头部,直到列表为空,然后累积结果。
If so, we return zero because the sum of all members of an empty list is zero.
如果是,则返回零,因为一个空列表的所有成员的和为零。
The list of both selections is empty, because of the data structure that is used by our Web services.
两个选项列表都是空的,这是我们所用的Web 服务的数据结构的关系。
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.
我们希望makeList能返回一个List[String],但是当strings.length等于0 时,我们错误地假设List(0)是一个空的列表并且将其返回。
I said earlier that an empty list is a LinkedList containing a null pointer in both fields.
我前面说过,空链表就是两个域都包含一个空指针的LinkedList。
Moreover, an element that has no content is represented by an empty child list, but a self-closed tag is represented by None. Listing 2 shows this structure in action.
而一个没有内容的元素由一个空的子列表表示,但是一个自封闭的标记由None表示。
If a variable is initialized with an empty initializer list, the object is value initialized.
如果用空的初始化器列表对变量进行初始化,对象为初始化值。
That is, you can pass in as many comma-separated strings as you want (including an empty list).
也就是说,你可以传入任意多的,以分号分隔的字符串(包括空的列表)。
Hence, after waking up the reader thread, verify that the list is not empty, and then proceed.
因此,在唤醒读线程之后,要确认列表非空,然后再继续处理。
The site's basic approach may seem familiar: a page featuring single empty box that, when text is entered, provides a list of useful web pages in response.
该网站的基本流程似乎颇为熟悉首页提供一个空框输入文本之后网站会提供一列关联网页。
Our founding editor is not one to leave things set to default, though, so she compiled a list of tweaks to empty an Outlook inbox faster.
我们的主编可不是喜欢默认设置的人,所以她列了一个表以快速清空收件箱。
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.
维列表为空的聚合应用于多维数据集模型中没有被其他聚合使用的所有维。
An empty list of IP filters is displayed.
显示空的IP筛选列表。
Next, you create a var called history that is just an empty list and then a var called droid that is an item.
接下来,创建一个名为history 的var,它只是一个空列表,然后是名为droid 的 var ,它是个项。
When the third element is removed from the above List, the other items "behind" it slide up to fill the empty slots.
当第三个元素从上面的List中被移除时,其“后面”的各项会上升填补空位。
A variable whose value is an empty list or which consists entirely of empty strings has a negative logical value.
一个值为空列表或由多个空串组成的变量具有否定的逻辑值。
Omitting the constructor argument list and enclosing parentheses is equivalent to specifying an empty argument list.
省略构造函数参数列表和封闭的圆括号等价于指定一个空参数列表。
The call operator is a pair of parentheses that encloses a (possibly empty) list of arguments that we pass to the function.
调用操作符是一对圆括号,括住传递给函数的实参列表(可能为空)。
Make up a good, solid list that's organized according to the aisles in your grocery store, and go early in the morning on the weekend or late at night when the store is empty.
准备一个完整并且准确的购物清单,在周末的早上或者晚上当商店里没有人的时候去购物。
Make up a good, solid list that's organized according to the aisles in your grocery store, and go early in the morning on the weekend or late at night when the store is empty.
准备一个完整并且准确的购物清单,在周末的早上或者晚上当商店里没有人的时候去购物。
应用推荐