If doesn't exist, return NULL.
如果不存在,就返回NULL。
Methods that return objects return null.
返回对象的方法返回null。
If doesn't exist or is NULL, return NULL.
如果不存在或者是NULL,就返回NULL。
The procedure can return null or non-null values.
该过程可以返回null或非null值。
Should I return NULL on functions that free structs?
我应该返回,免费的结构功能无效?
It will return null if there no other error messages to return.
如果没有要返回的其他错误消息,则返回null。
If the two linked lists have no intersection at all, return null.
问题描述:找出两个链表相交的地方。
This call is also non-blocking, which means that getnb can return null.
此调用也是非阻塞的,这意味着getnb可以返回null。
Is it acceptable to return null from a factory constructor in Dart?
它返回null从飞镖工厂构造函数可以接受吗?
In that case, the second map access would return null and an exception would be thrown.
在这种情况下,第二个映射访问可能会返回null,并抛出一个异常。
I've stumbled on articles that says its good programming practice to never return NULL.
我偶然发现的文章,说其良好的编程实践永远不会返回null。
I decided to return null, because when timeouts are not expected, this check could be skipped.
我决定返回null,因为当预料不会超时的时候,可以跳过该检查。
This method will return null if the focus owner is not in the same context as the calling thread.
如果该焦点所有者未和调用线程处于同一个上下文中,那么该方法会返回空。
Each of these methods will return null if its opposite component or window is in a different context.
如果其对立组件或窗口处于一个不同的上下文,这些方法中每一个都会返回空。
Folders will never be able to return selection properties in the example connector; instead, they return null.
在示例连接器中,文件夹不能返回选择属性;而是返回null。
There were two options for what should happen when the retrieval timeout occurs: return null or throw an exception.
对于在检索超时发生时应当发生的事情,有两个选择:返回null或者引发异常。
You'll want to be sure to always return null if no match occurs, so that entity resolution will occur normally in non-special cases.
当不匹配时,您会希望始终确保返回null ,这样实体解析在非特殊情况下都可以正常进行。
The opendir() and readdir() functions both return NULL if a problem occurs and the errno global variable is set to indicate what went wrong.
在出现问题时,opendir()和readdir()函数都会返回NULL,并且将设置全局变量 errno 的值,以指出所出现的错误。
If this method returns void, no change is needed, but if it returns DataObject, change the last line from return null; to return input;.
如果这个方法返回void,则不需要任何更改;如果返回DataObject,则将最后一行从return null;更改为returninput;。
Looking closely at Listing 10 reveals the issue: I initially coded the pop method to return null if the internal container had anything in it.
仔细观察清单10会发现:一开始我将pop方法编写为当内部容器中有项目时,就返回null。
A null return value implies all active slices, while an empty array will raise an exception.
空返回值意味着所有片都是活动的,而空数组则会引发一个异常。
If you return a null array, the clients of the code must write extra code to check whether the return value is null (as shown in Listing 13).
如果您返回零数组,该代码的客户端必须编写额外的代码来检查返回值是否为零(如清单13所示)。
If doesn't exist or is NULL, return.
如果不存在或者是NULL,就返回。
Most calls return either -1, NULL, or EOF to indicate error.
大多数调用返回- 1、NULL或EOF来表示错误。
Note that we specify HANDLESNULLS so that IDS allows our function to return a value when the column value is NULL.
注意,我们指定了HANDLESNULLS,因此,当列值为NULL时,IDS将允许函数返回一个值。
var:-value}: If exists and isn't NULL, return 's value.
${var:-value}:如果存在且不是NULL,就返回 的值。
If there are no WatchKeys to return by the end of the timeout, this method returns null.
如果在超时时间结束时,没有WatchKeys返回,这一方法将会返回null。
The static Current property uses the Stack.Peek method to return the T instance at the top of the stack if one exists, returning null if the Stack is empty.
静态Current属性使用Stack.Peek方法返回位于堆栈顶端的T实例(如果存在),如果Stack 为空则返回空。
This rule set contains some of the more questionable checks, including assigning null to a variable, multiple return points from a method, and importing from the sun packages.
这个规则集包含一些更有问题的检验,其中包括把null赋值给变量、方法中有多个返回点,以及从sun包导入等。
The CompanySystemContractManager class in Listing 4 checks only if arguments or return values are null, but it's possible to enhance it to add extremely sophisticated checks.
清单4中的CompanySystemContractManager类只检查参数或者返回值是否为nulll,但是可以使其增强为加入特别复杂的检查。
应用推荐