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 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 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.
对于目录的情况,如果目录的内容不为空,则此例程将引发异常。
"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轻如空气,”苹果公司的高级副总裁菲利普·席勒从一个看似空空的展示柜中,拿出了这个移动设备。
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就很合理。
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 the case of this image, there are no children — remember, images are empty elements — but there is certainly a parent.
对于图片来说,它没有子级——要记住图片是空元素,但是它肯定有父节点。
In this case, once the curiosity is empty, it often produces an unfair evaluation of the character.
在这种情况下,好奇心一旦落了空,就常常会产生对这个人物的不公正的评价。
If that is the case, the table contains an empty cell instead of a Revoke button.
如果出现这种情况,该表格包含一个空单元而不是一个Revoke按钮。
Therefore, in this situation, we create two case classes, one containing nothing (empty) that indicates the MailBox is empty and one containing the data (Full) with the message data in it.
因此,在这种情况下,我们将创建两个case类,一个不包含任何内容Empty,这表示MailBox为空,另一个包含消息数据Full。
When the translator first opens the message file, those parts will be empty, and the translator must specify the character encoding he or she will use — in this case, Latin-1 — and the translations.
当翻译人员首次打开消息文件时,这些部分将为空,并且翻译人员必须指定要使用的字符编码(在本例中为Latin - 1)和翻译。
Each widget package must have a configuration file called config.xml (case-sensitive) directly inside the empty directory that you just created, which is the base directory of the package.
每一个Widget包必须有一个名为config . xml(大小写敏感)的配置文件,它就位于我们刚创建的空目录下,这个目录就是包的根目录。
Different motherboards have different amounts of PCI slots, for example, you may already have a PCI card installed, in which case just choose an empty slot to install your new PCI card.
不同的主板有不同数量的PCI插槽,例如,您可能已经安装了PCI卡,在这种情况下只需要选择一个空槽安装新的PCI卡。
Stops the rewriting process and sends 403 Forbidden response to a client. Note that FormatString is useless in this case and could be set to any non-empty string.
停止重写过程并向客户端发送403禁止响应消息。注意此时格式字符串无效并且可能被赋值为任意非空字符串。
Stops the rewriting process and sends 403 Forbidden response to a client. Note that FormatString is useless in this case and could be set to any non-empty string.
停止重写过程并向客户端发送403禁止响应消息。注意此时格式字符串无效并且可能被赋值为任意非空字符串。
应用推荐