What if someone inadvertently passes in a null value for the Class parameter?
如果有人不经意地为Class参数传入一个null值会怎么样呢?
That means a reference type can have a null pointer, but a value type cannot have a null value.
这意味着引用类型可能有空指针,但是数值类型不能有空值。
Click on CustomerRecord , and you will see a non-null value appear as the value in the parameters area.
单击CustomerRecord,您会看到出现一个非空值作为参数区域中的值。
It's the situation where, for instance, someone passes a null value to a method not coded to handle nulls.
比方说,把null值传入一个并未编写如何处理null值的方法中,这就是一种边界情况。
If the corresponding class, field, or method is not generic, a null value is passed when calling the method.
若相应的类、字段或方法非泛型,则在调用方法时将返回null值。
The expression may be a null value if the parameter is nullable.
如果参数可为空值,则表达式可能为空值。
The axiom of fuzzy null value join dependency is introduced and its availability is proved.
给出模糊空值连接依赖的公理系统,并且进行了有效性证明。
When you work with strings with a null value, the result of the concatenation depends on the session Settings.
处理具有空值的字符串时,串联结果取决于会话设置。
As Linda stated, the behavior is simple: If someone calls push with a null value, the stack should throw an exception.
正如Linda所说,行为很简单:如果有人对null值调用push,那么栈应该抛出一个异常。
Otherwise, the shell interprets the trailing text as part of your variable name — and most likely returns a null value.
否则,Shell将把尾随文本解释为变量名称的一部分——并且很可能返回一个空值。
This line also traps for a null value and converts it to an empty string to prevent problems during later processing.
这一行代码也会专门处理null值,它将null值转换为一个空字符串以避免后面的处理出现问题。
When you want to determine whether a given row includes a comment, you no longer need to check for a null value in the COMMENT column.
确定某一个行是否包含注释时,不再需要检查COMMENT列的null值。
Listing 3 initializes a new Zend_Soap_Server object in non-WSDL mode, passing a null value as the first argument to the object constructor.
清单3传递一个null值到对象构造函数的第一个参数,以非wsdl模式初始化了一个新的Zend_Soap_Server对象。
Aiming at incomplete information of indicator system, this paper sets up null value dealing model of indicator system based on rough set.
针对指标体系信息不完备的特定问题,建立了基于粗糙集的指标体系空值处理模型。
IllegalArgumentError is thrown every time an argument is not considered valid, for example, when a null value is passed to a method as a parameter.
IllegalArgumentError在每次认为参数无效时抛出,例如,将null值作为参数传递给方法。
For fields without signatures, I'll just use a null value. Finally, the field type is an instance of the TypeDescription class, also shown in Listing 1.
对于没有签名的字段,将只使用null值。
When you attach a unique constraint to a column allowing null values, you ensure that at most one row will have a null value in the constrained column.
当将唯一约束附加到允许空值的列时,请确保在约束的列中最多有一行包含空值。
In effect, such a null value is a type of data column overloading, and in this context, a null value might be understood to represent some aspect of the data.
实际上,这类null值是一种数据列重载,并且在这个上下文中,null值可能被理解为表示数据的某些方面。
Prior to the DB2 for I 6.1 release, SQL Update and Insert statements could use an indicator variable with a value of -1 to set a null capable column to the null value.
在DB 2fori 6.1发布之前,SQLUpdate和insert语句能够使用一个值为- 1的指示符变量,将支持空值的列设置为空值。
This paper introduces embedded multivalued dependency, generalized join dependency, subset dependency under fuzzy null value circumstances and corresponding axiom.
介绍了模糊空值环境下的嵌入多值依赖、广义连接依赖、子集依赖,及其相应的公理系统。
This may be in the form of specific set values (for example, all 9's or 'Do Not Use') or blank values (where a blank represents a keystroke distinct from a null value).
这可能以特定的设置值(例如所有的9或‘DoNotUse’)或空白值(一个空白表示一个按键,这不同于一个null值)的形式出现。
Accordingly, you should always check that get returns a non-null value before using its result, as it is expected that the referent will eventually be garbage collected.
相应地,在使用其结果之前,应当总是检查get是否返回一个非null值,因为referent最终总是会被垃圾收集的。
If the remote data source cannot handle the null value in a host variable or parameter marker, any function that involves binding a nullable value has to be evaluated locally.
如果远程数据源不能处理主机变量或参数标记符中的NULL,那么任何需要绑定一个可以为空的值的函数都必须在本地计算。
A general, good practice is not to allow null (that is, no value) columns in a relational database, because when you attempt to read such a column, you get a null value exception.
通常,一种优秀的实践就是不要在关系数据库中使用null(即没有值)列,因为当您试图读取这类列时,您将得到一个null值异常。
By default, a column can contain a NULL value, but if you don't want that, you can append the "NOT NULL" postfix to the field definition.
默认情况下,列可以包含null值,但是,如果不想这样,可以在字段定义中附加“NOT NULL”后缀。
The target object with all substitutions performed. This property can have a NULL value when an error is encountered in the substitution process.
执行了所有替换的目标对象。在替换过程中遇到错误时,此属性的值可以是NULL。
When you specify the element directive to retrieve element-centric XML, if the column has a NULL value, the corresponding element is not generated by the EXPLICIT mode.
当指定ELEMENT指令检索以元素为中心的XML时,如果列具有NULL值,则EXPLICIT模式将不生成相应的元素。
When you specify the element directive to retrieve element-centric XML, if the column has a NULL value, the corresponding element is not generated by the EXPLICIT mode.
当指定ELEMENT指令检索以元素为中心的XML时,如果列具有NULL值,则EXPLICIT模式将不生成相应的元素。
应用推荐