- 疑難問(wèn)答
- 隨機(jī)文章
null object
網(wǎng)絡(luò)虛擬物體; 空物體層; 空對(duì)象; 是空對(duì)象; 空賓語(yǔ)
雙語(yǔ)例句
In Java, it is a common practice to assign a null value to a reference type when it is not referencing any object. 在Java中,當(dāng)引用類型沒(méi)有引用任何對(duì)象時(shí)將其賦空值,這是公共的操作。
SDOs can have data object properties that can be any of the simple PHP scalar types: string, integer, float or Boolean, as well as NULL or a reference to another SDO. SDO的數(shù)據(jù)對(duì)象屬性可為任意簡(jiǎn)單PHP標(biāo)量類型:字符串、整型、浮點(diǎn)、布爾,還可以是NULL或另一個(gè)SDO的引用。
The unit test methods first verify that the object provided is not null, and then perform one or more very basic actions on the object. 單元測(cè)試方法首先驗(yàn)證所提供的對(duì)象不是空的,然后對(duì)該對(duì)象執(zhí)行一個(gè)或多個(gè)非?;A(chǔ)的操作。
In Ruby, however, even null is an object. 但是在Ruby中,甚至null也是一個(gè)對(duì)象。
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. 否則,可能對(duì)一個(gè)空數(shù)組是null對(duì)象還是沒(méi)有任何元素的數(shù)組,亦或帶有一個(gè)對(duì)象且此對(duì)象包含null或空值的數(shù)組產(chǎn)生混淆。
If no comment is associated with a given purchase order object, you might expect this column to be null after persisting the entity. 如果沒(méi)有任何注釋與給定訂單對(duì)象相關(guān),那么您可能希望在持久化實(shí)體后將該列設(shè)為null。
If you call Hotel. findByName(" Marriott") and that Hotel doesn't exist in the table, you'll get a null object in return. 如果調(diào)用Hotel.findByName(“Marriott”),并且Hotel不存在表中,就會(huì)返回一個(gè)null對(duì)象。
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傳遞一個(gè)null值到對(duì)象構(gòu)造函數(shù)的第一個(gè)參數(shù),以非WSDL模式初始化了一個(gè)新的ZendSoapServer對(duì)象。
By design, a newly created JAXB object is "shallow", which means if it contains complex types in its tree structure, these objects are not created and are just null. 根據(jù)定義,新創(chuàng)建的JAXB對(duì)象是“淺對(duì)象”;也就是說(shuō),如果它的樹(shù)結(jié)構(gòu)中包含復(fù)雜的類型,那么并不創(chuàng)建這些對(duì)象,它們僅僅是null。
When the output is complete, the stream is flushed by writing a NULL object to the client stream and loop awaiting the next client. 輸出完成后,通過(guò)向客戶端流寫(xiě)入一個(gè)NULL對(duì)象,而且循環(huán)等待下一個(gè)客戶端,從而刷新流。
For that effect, JSON defines the following main data structures: number, string, boolean ( true and false), array ( an ordered sequence of values), object ( collection of key value pairs), and null. 為了實(shí)現(xiàn)該目的,JSON定義了以下主要數(shù)據(jù)結(jié)構(gòu):數(shù)字、字符串、布爾值(真或假)、數(shù)組(值的有序排列)、對(duì)象(鍵值對(duì)集合)和null。
A code block is simply a block of code that returns a value, and if no value is returned then a NULL object is returned. 代碼塊就是將返回一個(gè)值的一組代碼,如果沒(méi)有返回值,那么會(huì)返回一個(gè)NULL對(duì)象。
The sendRequest() function sets the Content-Type header if the body parameter isn't null and calls the send() method of the request object. 如果body參數(shù)不是null,sendRequest()函數(shù)就會(huì)設(shè)置Content-Type頭并調(diào)用request對(duì)象的send()方法。
Bottom line: Any value-binding expression that does not resolve to an object managed by Seam will be null when a method is executed through the Seam Remoting API. 底線是:當(dāng)方法通過(guò)SeamRemotingAPI執(zhí)行時(shí),任何不解析成由Seam管理的對(duì)象的值綁定表達(dá)式都將是null的。
It is kept NULL for un-named event object. 對(duì)于無(wú)名的事件對(duì)象來(lái)說(shuō),該值是NULL。
What you get in your arguments are a reference to the "this" object ( this is for object methods and is NULL for plain old functions like bar()) and an argument tuple in args. 您從參數(shù)中得到的是一個(gè)對(duì)“this”對(duì)象的引用(this用于對(duì)象方法,對(duì)類似bar()這樣的無(wú)參數(shù)的老式函數(shù)來(lái)說(shuō)是NULL)和一個(gè)存儲(chǔ)在args中的參數(shù)元組。
The cause of null pointers can be varied, but generally it means that either you haven't initialized an object, or you haven't checked the return value of a function. 由于空指針能夠被改變,但通常它意味著你不能初始化一個(gè)對(duì)象或者你不能檢查一個(gè)函數(shù)中的返回值。
Unfortunately, many designers have still not learnt that the special NULL pointer or null object is an equally bad idea. 遺憾的是,許多設(shè)計(jì)者并沒(méi)有認(rèn)識(shí)到空指針或空對(duì)象帶來(lái)的危害。
This field is NULL when no charmap is selected, which typically happens when you create a new FT_Face object from a font file that doesn't contain a Unicode charmap ( which is rather infrequent today). 當(dāng)沒(méi)有字符表被選中時(shí),該字段為NULL。這種情況在你從一個(gè)不含Unicode字符表的字體文件(這種文件現(xiàn)在非常罕見(jiàn))創(chuàng)建一個(gè)新的FTFace對(duì)象時(shí)發(fā)生。
If it is NULL, the dialog object's parent window is set to the main application window. 如果這個(gè)參數(shù)為空,對(duì)話框?qū)ο蟮母复翱诒辉O(shè)置到應(yīng)用程序主窗口。
When Java sees null, it recognizes that the reference in question isn't pointing to an object. 一旦Java看到null,就知道該句柄并未指向一個(gè)對(duì)象。
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的缺點(diǎn)是,它強(qiáng)迫調(diào)用方在每次從池中獲得對(duì)象時(shí)都檢查是否為null。
Acquisition of English null object construction by Chinese learners of English: An interface perspective of discourse, semantics and syntax 中國(guó)英語(yǔ)學(xué)習(xí)者對(duì)英語(yǔ)空賓語(yǔ)結(jié)構(gòu)的習(xí)得&語(yǔ)篇、語(yǔ)義與句法接口的視角
If the app doesn't want to do anything special for this ID, it returns NULL, and the window function senses this and news up the appropriate default object. 如果程序不需要這個(gè)ID,則返回NULL,窗口函數(shù)根據(jù)返回值創(chuàng)建恰當(dāng)?shù)哪J(rèn)對(duì)象。
The second parameter ( state) can either be null or an object containing application-specific information. 第二個(gè)參數(shù)(state)可以為空或者是包含程序規(guī)范信息的對(duì)象。
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. 本文為動(dòng)詞同賓結(jié)構(gòu)提供了一個(gè)統(tǒng)一的解釋:這些句子中的V2(連同其空主語(yǔ)和空賓語(yǔ))本質(zhì)上是目的性狀語(yǔ)從句。
Genuine VP ellipsis construction rather than null object construction takes place in Chinese due to the strong feature of the light verb. 漢語(yǔ)中存在真正的動(dòng)詞短語(yǔ)省略,而不是空賓語(yǔ)結(jié)構(gòu)(nullobjectconstruction)。這歸功于輕量動(dòng)詞的強(qiáng)特征。
The null subject cannot be an empty pronominal that must observe Generalized Control Rule and the null object cannot be a variable which may change its status of identity in the process of syntactic derivation. 關(guān)系從句中的空主語(yǔ)并不是必須遵守普遍控制原則的空代詞,而空賓語(yǔ)也不是在生成中能改變身份的變項(xiàng)。
But traced back to cognitive motivations, all categories of Null Object are used to fulfill the principle of economy of linguistic expression and cognitive processing. 但追根溯源,從認(rèn)知?jiǎng)訖C(jī)的角度看,賓語(yǔ)省略的各種形式都是為了在語(yǔ)言的使用過(guò)程中實(shí)現(xiàn)語(yǔ)言表達(dá)與認(rèn)知處理的經(jīng)濟(jì)性原則。
In Mandarin Chinese, one focus of the researches is on whether the Null Object Construction is a kind of Verb Phrase Ellipsis. 在漢語(yǔ)中,研究的一個(gè)焦點(diǎn)在于空賓結(jié)構(gòu)是否是動(dòng)詞短語(yǔ)省略結(jié)構(gòu)。
其他文章
- 小布叮官網(wǎng)免費(fèi)下載(小布叮官網(wǎng))
- 玉林市第十一中學(xué)(關(guān)于玉林市第十一中學(xué)的介紹)
- 李濟(jì)深兒子是怎么死的
- 怎樣殺雞更快
- 螺螄吃什么東西長(zhǎng)大的
- 什么是綱要形式
- 薇姿溫泉礦物修護(hù)微精華水(vigaa)
- 周華健,任賢齊 - 花心歌詞是什么?
- 為什么解散qq群失敗
- 使用了打比方的成語(yǔ)
- 5邊形加一條線變成兩個(gè)三角形(一個(gè)五邊形加一條直線變成兩個(gè)三角形)
- 微信狀態(tài)里的閉關(guān)是什么意思
- 獅城論壇(關(guān)于獅城論壇介紹)
- 大明風(fēng)華的歷史背景
- 杭州野生動(dòng)物園的門(mén)票多少一張
- 幼兒園第一天媽媽短語(yǔ)
- 遼寧交通管理信息網(wǎng) 沈陽(yáng)交警網(wǎng)官方網(wǎng)站
- 張大叔從市場(chǎng)上買回一塊矩形鐵皮是真的嗎
- 密室脫逃(關(guān)于密室脫逃的介紹)
- 煉鐵的原理化學(xué)方程式
- 世界上的第一部手機(jī)是哪過(guò)生產(chǎn)的
- 黃忠東(關(guān)于黃忠東簡(jiǎn)述)
- 證券上班時(shí)間
- 請(qǐng)說(shuō)中文用英語(yǔ)怎么說(shuō)
- 周杰倫作詞的歌曲 周杰倫作詞的歌曲有哪些
- qq空間相冊(cè)打不開(kāi)怎么辦 qq空間刪除的照片怎么恢復(fù)
- 福州七中好嗎(福州七中好嗎?)
- 中興u150怎么樣(中興手機(jī))
- yy等級(jí)有什么用
- 長(zhǎng)安十二時(shí)辰小說(shuō)大結(jié)局