getter翻譯及用法- 英漢詞典 - 漢語網
文章推薦指數: 80 %
getter中文的意思、翻譯及用法:vi. 使用雜質吸收劑vt. 消氣;用吸氣劑去除n. 吸氣劑;獲得者;毒餌。
英漢詞典提供【getter】的詳盡中文翻譯、用法、例句等.
英 漢 詞 典 搜尋 getter英['getə]美['getə]vi.使用雜質吸收劑vt.消氣;用吸氣劑去除n.吸氣劑;獲得者;毒餌
英語釋義1.onethatgets2.asubstanceintroducedintoavacuumtubeorelectriclamptoremovetracesofgas3.someoneorsomethingthatreceives,gets,orisgivensomething片語evaporablegetter蒸散型吸氣劑flashgetter蒸發吸氣劑Getterterms吸氣劑術語Gettermethod吸氣方式trygetter得分手gainer(Gainer)人名;(英)蓋納coilgetter螺旋管吸氣劑getteralloy吸氣合金gettercontainer[電子]volatilizedgetter揮發性吸氣劑
英漢例句becausedatabasesdonotsupportbehaviorassociatedwithentities,thedomainmodelendeduphavingsimplevariableswithgetterandsettermethodsforthem.因為數據庫不支持與實體相關聯的行為,領域模型最終只具有簡單的變量以及相關的getter和setter方法。
encapsulatingthevalueofconstantsinstaticgettermethodsinsteadgivesyouasignificantlymorerobustsolution.而將常數值封裝在一個靜態getter方法中則會給您一個強健得多的解決方案。
finally,updatethesetterandgettertagsasshowninboldtextinlisting13,andapplythepattern(figure43).最后,如清單13中的粗體文本所示,對setter和getter標記進行更新,并應用該模式(圖43)。
forexample,inthesecondtutorial,youmakeagettermethodwhichretrievesdatafromawebservice.例如,在第二個教程中,您將建立一個getter方法,它可以用來從web服務檢索數據。
forexample,ifyouselectafieldthathasgetterandsettermethods,youcanalsoupdatethenamesofthesemethodstoreflectthenewfield.比方說,如果選擇的屬性具有getter和setter方法,那么也就可以同時更新這些方法的名稱,以反映新的屬性。
whenthereisaneedtodosomethingspecialwithaconstructororagetterorsetter,groovyreallyshinesbecausetheinterestingbehaviorbecomesimmediatelyobvious,justbyglancingatthecode!當需要用構造函數或getter或setter來完成一些特殊任務時,groovy真的很出色,因為只需瞥一眼代碼,其精彩的行為就會立即變得十分明顯。
becausewearedealingwithsimpleaccessormethodsforbeans,wehaveoneforthesettercontainingasingleinputmessage,andoneforthegettercontainingasingleoutputmessage(seelisting4).因為我們是為bean處理簡單的訪問方法,所以包含一個輸入消息的setter和包含一個輸出消息的getter都有一個。
如清單4所示。
thisisthecontainermanagedrelationship(cmr)gettermethod.它是一個容器管理關系(containermanagedrelationship,cmr)getter方法。
usingunittestmethodstotesteverygettermethodisrecommended.推薦使用單元測試方法來測試每個getter方法。
performingthistaskinvolvescomputingintermediateandsummaryvaluesforthestatisticalprocedurethroughaseriesofgettermethods.執行這項任務涉及到通過一系列getter方法計算統計過程的中間值和匯總值。
alternatively,youcanconstructurlandinvokecorrespondinggettermethodlikeinlisting7togetthestubinstance.或者,您也可以構建url并調用相應的getter方法(如清單7所示)來獲取stub實例。
thismethodsetstheattributesoftheformbeanwiththeappropriategetterandsettermethods,asshownbelowusingtheobjectinstancereturnedfromthemodel這一方法和適當的getter和setter方法一同設置formbean的屬性,如下所示,其中使用從模型返回的對象實例theycanbeaddedtobean,field,gettermethod,orevenagraphofobjects.校驗邏輯可以被增加進bean、域、getter方法、甚至是對象圖中(agraphofobjects)。
assoonasyouunderstandhowfindhelpsyoudefineyourcontrolsdynamically,youcanbegintowritegettermethods,soyoucanlocateobjectswithoutrelyingonarecordedobjectmap.您一旦了解了find方法如何幫助您動態定義控件,您就可以開始編寫getter方法了,這樣您就可以不依賴被記錄的對象地圖(objectmap)來定位對象了。
ifyouhaveexperiencedevelopingapplicationswithjsf,thenyouknowthatblindlyfetchingdataingettermethodsisstronglydiscouraged.如果曾經使用jsf開發過應用程序,就會了解盲目地在getter方法中獲取數據非常不妥。
icantheniteratethroughtheobjectandusegettermethodstoextractandreportthedataitcontains.然后我可以在對象中迭代,并使用getter方法來抽取和報告其中包含的數據。
althoughgetterandsettermethodsareprovidedforthesefields,theyareneveractuallyusedintheauditingcode.盡管為這些字段提供了getter和setter方法,但是審計代碼中實際上不使用這些方法。
inthedialog,enternamesforthegetterandsettermethods--asyoumightexpect,thesearegetmake()andsetmake()bydefault.在彈出的對話框中輸入getter和setter方法的名稱——如您所料,缺省的方法名稱分別是getmake()和setmake()。
youmusthaveasetterandgettermethodfornetwork-transferfields您必須具有用於網絡傳輸字段的setter和getter方法youneedtoaddthetwofieldscorrespondingtothemediationparameterswithappropriatesetterandgettermethodsinthehandlerclass.需要在該處理程序類中添加兩個字段,這兩個字段與具有適當的setter和getter方法的中介參數對應。
variousaspectsofbuildingclassessuchasgetterandsetters,differentpropertytypesaswellasclassmethods.構建類的許多方面,例如getter和setter,不同的屬性類型和類方法等都被提及。
thissafetycomesatsomeperformancecost:thecreationofanewobjecteverytimeagetterorsetteriscalled.這一安全是以一些性能為代價換來的:每次調用一個getter或setter都會創建一個新對象。
thegiveawayistheuseoftheprivatefieldxandthepublicgettermethodgetx()inthesamemethodandindeedinthesameline.他在一個方法中使用了私有字段x和公共getter方法getx(),實際上是在一行代碼之中,這泄漏了他的身份。
practically,thismeansthatyoushouldnotbesuprisedifyourclasscontainsmanygettermethodsthatcomputeintermediateandsummaryvalues.實際上,這意味著,如果您的類包含許多計算中間值和匯總值的getter方法,您不應當感到驚訝。
熱詞restyle中文意思及用法sealskin中文意思及用法blackbeetle中文意思及用法erinite中文意思及用法kinetosis中文意思及用法beldame中文意思及用法blood-red中文意思及用法bloodred中文意思及用法catadioptrics中文意思及用法vehicular中文意思及用法attaching中文意思及用法implements中文意思及用法index-linked中文意思及用法proof-test中文意思及用法stereoscopic中文意思及用法英漢詞典漢語網名言金句古詩大全
延伸文章資訊
- 1getter中文, getter是什麼意思:獲取的人… - 查查在線詞典
getter中文::獲取的人…,點擊查查權威綫上辭典詳細解釋getter的中文翻譯,getter的發音,音標,用法和例句等。
- 2getter-翻译为中文-例句英语
使用Reverso Context: go-getter,在英语-中文情境中翻译"getter"
- 3getter 中文意思是什麼 - TerryL
getter 中文意思是什麼. 英 美 澳. getter 解釋. n. 名詞 1. ... In active voice, the doer is the subject ; in pass...
- 4getter的中文意思 - Dict.site 線上英文字典
getter 中文意思是什麼. getter 解釋. n. 名詞 1. 獲得者。 ... In active voice, the doer is the subject ; in passiv...
- 5go-getter中文(繁體)翻譯:劍橋詞典
go-getter 在英語-中文(繁體)詞典中的翻譯 ... We only recruit go-getters who will be actively involved in the co...