literals中文翻譯,literals是什么意思,literals發(fā)音、用法及例句
- 內(nèi)容導(dǎo)航:
- 1、literals
- 2、String存儲(chǔ)字符串長(zhǎng)度有限制嗎?有的話是多少呢?
1、literals
literals發(fā)音
英: 美:
literals中文意思翻譯
常見(jiàn)釋義:
n.誤?。╨iteral的復(fù)數(shù))
literals雙語(yǔ)使用場(chǎng)景
1、objects interoperate with typed arrays, array literals can initialize typed arrays as well with a few restrictions.───對(duì)象與類型化數(shù)組相互作用,因此數(shù)組標(biāo)識(shí)符在一些限制條件下也可以初始化類型化數(shù)組。
2、Function literals are "anonymous" functions.───字面函數(shù)也就是“匿名”函數(shù)。
3、Most often, an alias abbreviates literals.───別名通常只是單純的縮寫(xiě)。
4、This text specifies the code, along with the literals and objects, that you can use when this code snippet is inserted into a project.───此文本用于指定在將此代碼段插入到項(xiàng)目中時(shí)可以使用的代碼以及文本和對(duì)象。
5、When invoked from within a script, it is usually more desirable (and practical) to specify variables rather than literals.───當(dāng)從腳本中調(diào)用AdminTask命令時(shí),用戶通常更期望(和實(shí)際需要)為命令參數(shù)指定變量而不是文本。
6、Just as with any constant, all references to the individual values of an enum are converted to numeric literals at compile time.───與任何常量一樣,對(duì)枚舉中各個(gè)值的所有引用在編譯時(shí)均將轉(zhuǎn)換為數(shù)值文本。
7、But using parameter markers is not always better than using literals (explicit values).───但使用參數(shù)標(biāo)記并不總是比使用文本(顯式值)更好。
8、Externalize strings and literals.───外部化字符串和文本。
9、Length also describes the length of the formatted string , including input characters , literals, and prompt characters .───還描述帶格式字符串的長(zhǎng)度,包括輸入字符、原義字符和提示字符。
literals相似詞語(yǔ)短語(yǔ)
1、nephelite syenite───霞石正長(zhǎng)巖
2、baculite section───桿狀剖面
3、scapolite gem───方柱石寶石
4、crocidolite sds───青石棉sds
5、satellites visible tonight───今晚可以看到衛(wèi)星
6、satellite radio───衛(wèi)星廣播;衛(wèi)星收音機(jī)
7、crystallite baths───微晶浴
8、polite behavior───禮貌行為
9、liter abbreviation───升縮寫(xiě)
10、amygdalite chronique───慢性扁桃體炎
2、String存儲(chǔ)字符串長(zhǎng)度有限制嗎?有的話是多少呢?
String內(nèi)部是以char數(shù)組的形式存儲(chǔ),數(shù)組的長(zhǎng)度是int類型,那么String允許的最大長(zhǎng)度就是Integer.MAX_VALUE了。又由于java中的字符是以16位存儲(chǔ)的,因此大概需要4GB的內(nèi)存才能存儲(chǔ)最大長(zhǎng)度的字符串。不過(guò)這僅僅是對(duì)字符串變量而言,如果是字符串字面量(string literals),如“abc"、"1a2b"之類寫(xiě)在代碼中的字符串literals,那么允許的最大長(zhǎng)度取決于字符串在常量池中的存儲(chǔ)大小,也就是字符串在class格式文件中的存儲(chǔ)格式: CONSTANT_Utf8_info { u1 tag; u2 length; u1 bytes[length]; } u2是無(wú)符號(hào)的16位整數(shù),因此理論上允許的string literal的最大長(zhǎng)度是2^16-1=65535。然而實(shí)際測(cè)試表明,允許的最大長(zhǎng)度僅為65534,超過(guò)就編譯錯(cuò)誤了.
本站其他內(nèi)容推薦
1、adore vacate visibility carousal renal dippy blintz plaudit socket cpr
2、management中文翻譯,management是什么意思,management發(fā)音、用法及例句
3、visions of gideon中文翻譯,visions of gideon是什么意思,visions of gideon發(fā)音、用法及例句
4、ngr是什么意思,ngrl縮寫(xiě)是什么意思,ngrl的全稱及含義,ngrl全稱意思大全
5、wholeheartedly是什么意思,wholeheartedly中文翻譯,wholeheartedly發(fā)音、用法及例句
6、誓死不屈的意思,誓死不屈成語(yǔ)解釋,誓死不屈是什么意思含義寓意
7、街的筆順怎么寫(xiě),街的筆順,街字筆畫(huà)順序,街字怎么寫(xiě)
8、配音的英文,英語(yǔ),dubbing是什么意思,dubbing中文翻譯,dubbing怎么讀、發(fā)音、用法及例句
9、oilery是什么意思,oilery中文翻譯,oilery怎么讀、發(fā)音、用法及例句
10、osteogenic是什么意思,osteogenic中文翻譯,osteogenic怎么讀、發(fā)音、用法及例句
11、structured是什么意思,structured中文翻譯,structured怎么讀、發(fā)音、用法及例句
版權(quán)聲明: 本站僅提供信息存儲(chǔ)空間服務(wù),旨在傳遞更多信息,不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任,不代表本網(wǎng)贊同其觀點(diǎn)和對(duì)其真實(shí)性負(fù)責(zé)。如因作品內(nèi)容、版權(quán)和其它問(wèn)題需要同本網(wǎng)聯(lián)系的,請(qǐng)發(fā)送郵件至 舉報(bào),一經(jīng)查實(shí),本站將立刻刪除。