Additionally, any code that traverses our lists and forgets to check for the empty case will get a NoSuchElementException, as opposed to the much-less-helpful null-pointer exception.
另外,任何阻断我们的链表以及忽略检查空例的代码将返回一个NoSuchElementException,而不是那些没什么用的空指针异常。
In case of an error, this function returns an empty array to the caller.
在发生错误的情况下,此函数会向调用者返回一个空数组。
In such a case, the gateway Proxy service would assume the role of the ultimate receiver and return an empty result (not a fault) to the sender.
在这样的情况下,网关代理服务将假设为最终接收者角色,并且返回一个空结果(不是一个错误)给发送者。
In either case, use the empty code models that you created earlier.
在每一种情况下,都要使用您先前创建的空的代码模型。
In this case, the game was empty.
在这个例子中,游戏是空的。
In this case, an empty version will be detected later and an empty path suffix is what happens for production builds, so that's acceptable.
在这种情况下,稍后将检测到空值,产品构建时会出现空路径后缀,因此这是可以接受的。
In that case a mortuary worker found in a freezer an empty bag that should have contained the body part.
殡葬中心一名工作人员在冷库里发现了一个空袋子,里面原本应存放有这名士兵的踝骨碎片。
In other words, if the directions in the SAD together with the actual Use-Case Specification are sufficient for the developer to build the code of the use case, the Use-Case Realization is empty.
换句话说,如果SAD中的指示,连同实际的用例规格说明对开发人员来说足够构建用例的代码,那么用例实现就是空的。
In the case of a directory, if the contents of the directory are not already empty, this routine throws an exception.
对于目录的情况,如果目录的内容不为空,则此例程将引发异常。
In this case, it might happen that the result is empty.
这种情况下可能出现结果为空。
"The new 3gi is as light as air," said Apple senior vice President Philip Schiller, reaching inside an empty display case, apparently to remove the mobile device.
“新款的3gi轻如空气,”苹果公司的高级副总裁菲利普·席勒从一个看似空空的展示柜中,拿出了这个移动设备。
In the case that an attribute's value remains empty, a default value is set.
假如属性的值仍然是空白的,那么会设置一个默认的值。
In the case of a new method built from scratch, the method Definition is empty at the beginning of the project.
从新创建方法的例子中,方法定义在这个项目的开始是空白。
Even ssh-keygen command will accept the empty passphrase, in which case, private-key file will not be encrypted.
尽管ssh - keygen命令可以接受空的密码,但是在这种情况下私有密钥文件不加密。
Curl simply uploads the entire file-in this case 512kb, most of it empty bytes.
curl上传整个文件—在512kb的情况下,大部分都是空字节。
Calling abort on a successfully completed request won't do anything and onreadystatechange is set to an empty function just in case the browser gets a delayed response for an old request.
在成功完成了的请求上调用abort不起任何作用,并且仅当浏览器收到一个对旧请求的延时响应的情况下,onreadystatechange才被设置为一个空函数。
In this case, ensuring that pop throws an exception if push hasn't been called (or logically, if the stack is empty) means that the stack has a state.
在这种情况下,如果push没有被调用(或者从逻辑上讲,栈为空)的情况下确保pop抛出一个异常,则意味着栈有一个状态。
In this case, the lower part of the Rules TAB displays any current Settings for the rule; otherwise, it is empty.
在此情况下,Rules选项卡下面的部分显示出规则的当前所有设置,要不然就为空。
Log Location is an empty folder where the log files are created during the execution of a configured test case.
LogLocation是一个空文件夹,在配置测试用例执行期间会创建记录文件。
In the case of karaoke though what is empty isn't the hand but the vocal track.
但是,在卡拉ok一词中,空荡荡的不是双手,而是声轨。
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文件。
The previous parameter starts off with the initial value, or, in this case an empty string.
previous参数有一个初始值,在本例中,是一个空白字符串。
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就很合理。
In this case, the "Last statistics update" column is empty.
在这个例子中,“Laststatisticsupdate”列是空白的。
Method getPrefix() is a shorthand for getting the namespace attribute's local name (unless it is a default namespace declaration, in which case the prefix is an empty string rather than "xmlns").
方法getPrefix()是获得名称空间属性的本地名的快捷方式(除非是默认名称空间声明,这种情况下前缀是一个空字符串而非 “xmlns”)。
Then select a template for the new model, that, in this case, contains a new empty physical model.
然后为新模型选择一个模板,在目前情况下,选择包含空白物理模型的模板。
Since much of the fraud is conducted from fake addresses—empty shops, or in one case a broom cupboard—physical inspections are also being carried out.
由于大多数医疗诈骗采用的是虚假地址—如空店铺,或个案中使用的扫帚柜—因此实地调查也正在展开。
In case of hard or symbolic links to a file, this API checks whether the original file is empty.
对于文件的硬链接或符号链接的情况,此api将检查原始文件是否为空。
In case a file does not have an extension, the function returns an empty string.
对于文件没有扩展名的情况,此函数将返回空字符串。
This case has no URI, so an empty string works just fine.
这里没有URI,所以使用一个空字符串就可以了。
应用推荐