If the object argument is null, you need to generate a null accessor for the type.
如果对象参数为空,您需要为这个类型生成一个空访问器。
Unfortunately, many designers have still not learnt that the special null pointer or null object is an equally bad idea.
遗憾的是,许多设计者并没有认识到空指针或空对象带来的危害。
Otherwise, there can be confusion over whether an empty array is a null object, an array with no elements, or an array with a single object containing null or empty values.
否则,可能对一个空数组是null对象还是没有任何元素的数组,亦或带有一个对象且此对象包含null或空值的数组产生混淆。
A disadvantage of returning null is that it forces a caller to check for null each time an object is obtained from the pool.
返回null的缺点是,它强迫调用方在每次从池中获得对象时都检查是否为null。
When you want a field to be set to null, you set its value to as attribute3 in Figure 17 shows, which is equivalent to calling MyBO.set("attribute2", null) using the Service Data Object (SDO) API.
需要将字段设置为null时,您可以将其值设置为 (如图17 中的attribute3 所示),这等效于使用ServiceDataObject (SDO) API调用MyBO.set("attribute2", null)。
I will provide a uniform explanation for OSC in this dissertation: V2 (with its null subject and null object) is essentially a purpose clause modifying the matrix clause.
本文为动词同宾结构提供了一个统一的解释:这些句子中的V_2(连同其空主语和空宾语)本质上是目的性状语从句。
I will provide a uniform explanation for OSC in this dissertation: V2 (with its null subject and null object) is essentially a purpose clause modifying the matrix clause.
本文为动词同宾结构提供了一个统一的解释:这些句子中的V_2(连同其空主语和空宾语)本质上是目的性状语从句。
应用推荐