扒开老师双腿猛进入白浆小说,熟女人妻私密按摩内射,成人A片激情免费视频,亚洲欧洲AV无码区玉蒲区

當(dāng)前位置: > 投稿>正文

singleton是什么意思,singleton中文翻譯,singleton發(fā)音、用法及例句

2025-09-05 投稿

singleton是什么意思,singleton中文翻譯,singleton發(fā)音、用法及例句

?singleton

singleton發(fā)音

英:['s??ɡlt?n]  美:[?s??ɡ?lt?n]

英:  美:

singleton中文意思翻譯

n. 獨(dú)生子;單身;(撲克牌)單張;單例模型

singleton常見例句

1 、Three clubs was an overbid, but Rosenthal (South) was hoping his partner had a singleton spade.───3草花有點(diǎn)冒進(jìn),不過盧森塔爾(坐南)指望同伴的黑桃是單張。

2 、Blood group antigen Singleton───Singleton血型抗原

3 、Provides for deferred loading and relationship maintenance for the singleton side of a one-to-many relationship in a LINQ to SQL application.───為LINQ to SQL應(yīng)用程序中的一對多關(guān)系的單一實(shí)例方提供延遲加載和關(guān)系維護(hù)。

4 、Blood group antibody Singleton───Singleton血型抗體

5 、Instance behavior specifies how many instances of the service can be run (for example, a singleton specifies only one instance to process all messages).───實(shí)例行為指定可運(yùn)行的服務(wù)實(shí)例的數(shù)目(例如,singleton指定只能用單一實(shí)例來處理所有消息)。

6 、singleton [a card that is the only one of the suit in a hand]───單張

7 、In regular expressions, a normal character is an atom that denotes the singleton set of strings containing only itself.───在正則表達(dá)式中,一個常規(guī)字符是一個原子,它表示只包含其自身的單字符串集。

8 、The women were part of an ongoing maternity cohort who deliered singleton babies and had gien blood samples early in pregnancy.───受試者婦女有部分是正在產(chǎn)科醫(yī)院中生了單胞胎并在妊娠早期留有血樣的產(chǎn)婦。

9 、A subgame is a game consisting of a node which is a singleton in ever player's information partition, that node's successors, and the payoffs at the associated end nodes.───子博弈是一個對于所有參與人的信息集來說都是單結(jié)的結(jié),這個結(jié)的后續(xù)結(jié)以及在相應(yīng)的終點(diǎn)結(jié)處的支付這三個要素所組成的博弈。

10 、The remaining settings will always be taken from the child definition: depends on, autowire mode, dependency check, singleton, lazy init.───剩余的設(shè)置將總是從子定義處得到

11 、Since there can be only one un-caught handler per process active at a time, the constructor should be invoked only once; hence, the reason for the singleton pattern.───因?yàn)槊看沃荒苡幸粋€未捕獲的處理程序處理一個活動進(jìn)程,構(gòu)造函數(shù)應(yīng)該只被調(diào)用一次,因此要采用singleton模式。

12 、Singleton Pattern───單例模式

13 、He is a singleton, concern with parents good, oneself have a steady income, adscititious not little friend, love has talked a few times, but marriage appears to him appeal of it doesn't matter.───他是獨(dú)生子,和父母關(guān)系良好,自己有一份穩(wěn)定的收入,外加不少朋友,戀愛談過幾次,但婚姻對他似乎沒什么吸引力。

14 、singleton resources───單資源

15 、Application of Inverter in the Reform of Singleton Paper Lithography Machine───變頻器在單張紙平版印刷機(jī)改造中的應(yīng)用

16 、Singleton queries do not require an input table; instead, a set of data is passed into the model, from which a single prediction is returned in real time.───單獨(dú)查詢不需要輸入表;它將一組數(shù)據(jù)傳遞到模型中,然后從模型實(shí)時(shí)返回一個預(yù)測。

17 、You can configure Prediction Query Builder, in the Mining Model Prediction tab in Data Mining Designer, to easily create a singleton prediction query.───可以在數(shù)據(jù)挖掘設(shè)計(jì)器的“挖掘模型預(yù)測”選項(xiàng)卡中配置預(yù)測查詢生成器,來輕松創(chuàng)建一個單獨(dú)預(yù)測查詢。

18 、The Singleton and Factory Patterns in PHP: Working With Singletons───使用單例模式

19 、Singleton design mode───Singleton設(shè)計(jì)模式

20 、If the query workload on a fragmented table or index does not involve scans, because the workload is primarily singleton lookups, removing fragmentation may have no effect.───如果含有碎片的表或索引中的查詢工作負(fù)荷不涉及掃描(因?yàn)楣ぷ髫?fù)荷主要是單獨(dú)查找),則刪除碎片可能不起作用。

21 、For example, KERNEL, HEAP, and ARG0 are references to the POE::Kernel singleton, the current session's private heap, and the first custom argument for the event.───例如KERNEL、HEAP和ARG0參數(shù)分別是關(guān)于POE::Kernel獨(dú)一對象、當(dāng)前會話的私有數(shù)據(jù)堆和事件第一個客戶自定義參數(shù)的引用。

22 、This article introduces the determinating method of procedure size and tolerance of symmetry and the methed to determine size and tolerance of singleton in examination.───介紹對稱度工序尺寸及尺寸公差的確定方法,以及在單件考核中確定這一尺寸及尺寸公差的方法。

23 、These absolute risks are high compared with those for singleton term births in Scotland during the same period.───在同時(shí)期內(nèi)的資料看來,這樣的絕對風(fēng)險(xiǎn)比獨(dú)生子女還高。

24 、The irony is that deliering and caring for twins costs 16 times as much as for a singleton.───帶有諷刺意味的是,生育和照顧雙胞胎的費(fèi)用是一個孩子的16倍。

25 、singleton set───單元素集

26 、singleton cycle───[計(jì)] 單元素環(huán)

27 、In any event, we need an architecture that facilitates these requirements, while allowing us easy, efficient access to our configuration data. Enter the singleton configuration manager.───任何情況下,我們都需要一個能讓我們?nèi)菀椎?,高效的訪問我們的配置數(shù)據(jù)的架構(gòu)。

28 、To change this situation, we have decided to singleton hostels to property management companies.───為改變這種狀況,我們決定把單身宿舍的管理也交給物業(yè)公司。

29 、DispSink Sample: Handles Events Fired from a Singleton COM Server Through a Dispatch Interface───DispSink示例:處理單一COM服務(wù)器通過調(diào)度接口激發(fā)的事件

30 、The singleton pattern is one of the best-known patterns in software engineering.───單件模式是軟件工程中流傳比較久遠(yuǎn)的模式之一。

31 、Therefore, the default constructor for a singleton class will initialize the class to the only instance of the class.───因此,單一實(shí)例類的默認(rèn)構(gòu)造函數(shù)將該類初始化為該類的唯一實(shí)例。

32 、Because they are shared between clients, singleton states are unable to make use of their own local, agent-specific data.───因?yàn)樗麄冇煽蛻艄蚕恚瑔渭顟B(tài)不能使用他們自有的,特定智能體的數(shù)據(jù)。

33 、The following example returns the predicted state of the Bike Buyer column in a singleton query.───以下示例返回單獨(dú)查詢中Bike Buyer列的預(yù)測狀態(tài)。

34 、Volunteers will visit the singleton elderly in the Kwun Tong District at least once every two months for one year.───各組義工將于未來一年內(nèi),最少每兩個月探訪觀塘區(qū)的獨(dú)居長者一次。

35 、singleton pregnancy───單胎妊娠

36 、Singleton incision───[醫(yī)] 辛格爾頓氏切口(上腹手術(shù))

37 、However, if the object is a singleton object that might cause an entire subsystem to deadlock, consider using the above design pattern as well.───但是,如果對象是可能導(dǎo)致整個子系統(tǒng)死鎖的單一實(shí)例對象,請考慮使用上面的設(shè)計(jì)模式。

38 、The "inward looking" singleton, the floor could veins clear, strong sense of solid floors to increase the warmth, feeling of intimacy, and easily mix with furniture;───對于“內(nèi)向型”的單身人士來說,地板可采用紋理清晰、質(zhì)感強(qiáng)的實(shí)木地板,以增加溫暖、親切感,且容易與家具搭配;

39 、singleton substitution───唯一替換

40 、singleton hostel───單身人士宿舍

41 、The Profile class is a singleton; it has only one instance that provides a global point of access.───Profile類為單一實(shí)例;它只有一個提供全局訪問點(diǎn)的實(shí)例。

42 、singleton arc consistency───singleton弧相容

43 、"It is be lost probably singleton.───“大概是走失了獨(dú)生子。

44 、Singleton types never have more than one instance at any one time.───Singleton類型在任何時(shí)刻只能有一個實(shí)例。

45 、" With one foot in the conventional world of species propagation and the other foot in the domain of the marginalized female singleton, Israel thinks this growing segment is in a kind of limbo.───伊斯里爾認(rèn)為單身女性一面要應(yīng)付傳宗接代的傳統(tǒng)思想,一邊卻要被排擠、被邊緣化。在她看來,這種不斷擴(kuò)大的社會分歧像一個監(jiān)牢將人禁錮其中。

46 、A singleton bucket is indicated by a Low value in the result set being equal to the corresponding High value.───單一域桶是通過結(jié)果集中的Low值等于相應(yīng)的High值進(jìn)行指示的。

47 、The Singleton pattern is shown in Figure 5.───Singleton模式如圖5所示。

48 、singleton tenant───單身租客

49 、And a singleton class called───以及一個叫做

50 、Singleton with static factory method───公有靜態(tài)成員是一個工廠方法

51 、A distribution shown with hyphens refers to any pattern including those suit lengths (for example, 5-4-3-1 means any hand with one five-card suit, one four-card suit, one tripleton and one singleton).───一手牌分配的表達(dá)以減號來表示非特定花色長度的任何組合(例如,5-4-3-1即表示持有一門5張、一門4張、一門3張及一門單張花色)。

52 、For "outward looking" singleton, the higher demands on space, room to set a simple, quick as well.───對于“外向型”的單身人士,對空間的要求較高,所以房間盡量布置得簡單、明快為好。

53 、After clicking the Singleton Query button, you will see the Singleton Query Input dialog populated with columns from the TM_Decision_Tree model (the first model in the structure).───單擊“單獨(dú)查詢”按鈕后,您會看到以TM_Decision_Tree模型(結(jié)構(gòu)中的第一個模型)的列填充的“單獨(dú)查詢輸入”對話框。

54 、singleton interference───[計(jì)] 單音干擾

55 、When copies of the singleton class run in multiple VMs, an instance is created for each machine.───singleton類的拷貝跑在虛擬機(jī)中的時(shí)候,在每個機(jī)器中都創(chuàng)建了一個自己的實(shí)例。

56 、The Bobcats are 18-26 this season but are 11-10 since they acquired Boris Diaw, Raja Bell and Sean Singleton from the Phoenix Suns for Jason Richardson and Jared Dudley on Dec. 10.───山貓隊(duì)本賽季18勝26負(fù),但是自從他們用杰森-理查德和達(dá)德利換來了太陽隊(duì)的伯瑞斯-迪奧,拉加貝爾以及西恩-辛格特里后,他們的戰(zhàn)績是11勝10負(fù)。

57 、For love heart, is to cherish singleton, this is normal.But many people tend to confuse a doting mother and child, as the core, and spoiled, want what to say what, what is not accustomed to the child.───出于母愛之心,人們對獨(dú)生子女尤為珍愛,這是人之常情.但不少人往往把母愛和溺愛混淆起來,以孩子為核心,嬌生慣養(yǎng),要啥給啥,說啥是啥,把孩子慣得不像樣子。

58 、Singleton and Tavares unpubished data. * N available from the soil setimated by N uptake by ineffectively nodulated plants (strain SM-5).───Singleton和Tavares未發(fā)表數(shù)據(jù)。* 來自土壤的有效氮通過非有效結(jié)瘤菌株(SM-5)對N的吸收來估算。

59 、"These person majority are a singleton female, like the space of ego as a child.───“這些人多數(shù)都是獨(dú)生子女,從小就喜歡自我的空間?!?/p>

60 、You use this function to initialize static variables, enforce the singleton pattern, or perform any other necessary work before a class is usable.───在一個類被使用前,用該方法初始化靜態(tài)變量,強(qiáng)制單件模式,或者執(zhí)行任何其它必要的工做。

61 、DispSink Attributes Sample: Handles Events Fired from a Singleton COM Server Through a Dispatch Interface───DispSink屬性示例:處理單一COM服務(wù)器通過調(diào)度接口激發(fā)的事件

62 、The Singleton pattern is used to design the classes that provide the configuration settings for an application.───單件模式被用來設(shè)計(jì)提供應(yīng)用程序配置的類。

63 、Singleton is at a loss, love also indecision!───失去了我唯一的你,愛卻又如此的優(yōu)柔寡斷!

64 、Adaptive Server Anywhere tries to maintain a minimum number of singleton buckets in each histogram, usually between 10 and 100 depending upon the size of the table.───Adaptive Server Anywhere會嘗試在每個直方圖中保留最少數(shù)量的單個桶,通常是在10與100之間,具體取決于表的大小。

65 、OWNER must be a singleton account and not a group or role.───OWNER必須是單獨(dú)帳戶而不是組或角色。

66 、singleton sequence───[計(jì)] 單元素序列

67 、A table of singletons at our age, well done.─── 一桌我們這年紀(jì)的未婚人士 真厲害

68 、As there is only one discard available from diamonds regardless, the contract will fail (barring West's opening lead having been a singleton) if you cannot get to lead the third round of clubs.───因?yàn)榉狡豢梢詨|掉一張輸張(除非西家首攻是單張),如果妳打不出第三張梅花。定約就會被擊垮。

69 、Location steps, function parameters, and operators that require singletons will return an error if the compiler cannot determine whether a singleton is guaranteed at run time.───如果編譯器無法確定是否在運(yùn)行時(shí)保證單一性,則要求單一性的位置步驟、函數(shù)參數(shù)和運(yùn)算符將返回錯誤。

70 、He is obviously 4-4 in the minor suits and can hardly have a singleton spade since West did not lead the suit.───他明顯是低花4-4配,并且基本不是黑桃單張,因?yàn)槲鳑]有首攻該套。

71 、Click Singleton query on the toolbar of the Mining Model Prediction tab.───在“挖掘模型預(yù)測”選項(xiàng)卡中,單擊工具欄上的“單獨(dú)查詢”。

72 、Singleton's out there trying to convince your crew to torture that poor bastard of a captain simply 'cause he hasn't worked out how to get them to do it to you.─── 辛格爾頓在外面在試著說服你的船員 去折磨那可憐的混賬船長 無非是因?yàn)樗€沒想出 怎么能讓他們對你做同樣的事情

73 、throw new Error (" LoadModule is a Singleton Class Please Use 'LoadModule.getInstance();'─── 多點(diǎn)緩存下載器是單例類請使用 'LoadModule.getInstance();'

74 、Singleton, he has the votes to remove you as captain.─── 辛格爾頓 他可以投票把你從船長職位免職

75 、singleton fuzzy model───單值模糊模型

76 、singleton model───單體模式

77 、singleton household───單身住戶

78 、Singleton Design Pattern───單態(tài)設(shè)計(jì)模式

79 、"This drug might actually inhibit the progression of lung cancer," Singleton said in a telephone interview.───"這種藥實(shí)際上可能抑制肺癌的發(fā)展,"辛格爾頓在一次**訪談中說。

80 、Kernel includes a little magic of its own. When it's first loaded, it creates the singleton POE:: Kernel instance that will be used throughout the program.───Kernel自己也有些小秘密。第一次引入的時(shí)候,他會創(chuàng)建一個獨(dú)一的。

81 、ANALYSIS FOR PERINATAL MORTALITY OF TWIN PREGNANCIES AND SINGLETON PREGNANCY───雙胎及單胎妊娠圍產(chǎn)兒死亡分析

82 、1. They created the teenager, the yuppie, the baby boomer, the singleton and the metrosexual.───他們把消費(fèi)者劃分為:青少年,嬰兒潮,單身主義者和都市玉男。

83 、The Select Input Table window is replaced with a Singleton Query Input window.───“單獨(dú)查詢輸入”窗口將取代“選擇輸入表”窗口。

spring的singleton和prototype的區(qū)別和應(yīng)用場合?

singleton作用域:當(dāng)把一個Bean定義設(shè)置為singleton作用域是,Spring IoC容器中只會存在一個共享的Bean實(shí)例,并且所有對Bean的

請求,只要id與該Bean定義相匹配,則只會返回該Bean的同一實(shí)例。值得強(qiáng)調(diào)的是singleton作用域是Spring中的缺省作用域。

prototype作用域:prototype作用域的Bean會導(dǎo)致在每次對該Bean請求(將其注入到另一個Bean中,或者以程序的方式調(diào)用容器的getBean

()方法)時(shí)都會創(chuàng)建一個新的Bean實(shí)例。根據(jù)經(jīng)驗(yàn),對有狀態(tài)的Bean應(yīng)使用prototype作用域,而對無狀態(tài)的Bean則應(yīng)該使用singleton作用

域。

對于具有prototype作用域的Bean,有一點(diǎn)很重要,即Spring不能對該Bean的整個生命周期負(fù)責(zé)。具有prototype作用域的Bean創(chuàng)建后交由調(diào)

用者負(fù)責(zé)銷毀對象回收資源。

簡單的說:

singleton 只有一個實(shí)例,也即是單例模式。

prototype訪問一次創(chuàng)建一個實(shí)例,相當(dāng)于new。

應(yīng)用場合:

1.需要回收重要資源(數(shù)據(jù)庫連接等)的事宜配置為singleton,如果配置為prototype需要應(yīng)用確保資源正?;厥铡?/p>

2.有狀態(tài)的Bean配置成singleton會引發(fā)未知問題,可以考慮配置為prototype。

單例模式的作用及創(chuàng)建方法

單例模式作為常見的設(shè)計(jì)模式之一,在java的項(xiàng)目開發(fā)中會時(shí)常的用到。Java Singleton模式即保證在JVM運(yùn)行時(shí),一個類Class只有一個實(shí)例存在。

單例模式有什么好處呢?

最簡單的一個例子就是網(wǎng)站計(jì)數(shù)器的設(shè)計(jì)了。當(dāng)我們想要統(tǒng)計(jì)當(dāng)前網(wǎng)站的在線人數(shù)時(shí),一個顯而易見的問題就是并發(fā)所帶來的線程安全問題,當(dāng)我們對這個計(jì)數(shù)器(網(wǎng)站人數(shù))在同一時(shí)刻進(jìn)行操作,再保存計(jì)數(shù)時(shí)就會造成數(shù)據(jù)的混亂,后者覆蓋前者的結(jié)果。一種解決方案就是把這個計(jì)數(shù)器設(shè)置為唯一對象,所有人都必須共用同一份數(shù)據(jù)。

實(shí)現(xiàn)唯一對象最好的解決辦法就是讓類自己負(fù)責(zé)保存它的唯一實(shí)例,并且讓這個類保證不會產(chǎn)生第二個實(shí)例,同時(shí)提供一個讓外部對象訪問該實(shí)例的方法。自己的事情自己辦,而不是由別人代辦,這非常符合面向?qū)ο蟮姆庋b原則。

單例模式的三個特點(diǎn):

只有在自身需要的時(shí)候才會行動,從來不知道及早做好準(zhǔn)備。它在需要對象的時(shí)候,才判斷是否已有對象,如果沒有就立即創(chuàng)建一個對象,然后返回,如果已有對象就不再創(chuàng)建,立即返回。

該方法在多線程情況下有可能重復(fù)創(chuàng)建實(shí)例,以下是線程安全的懶漢模式

這種模式的缺點(diǎn)是加鎖造成了效率下降,并且在絕大部分情況下是不需要同步的。使用雙重檢驗(yàn)鎖(DCL),只在第一次初始化的時(shí)候進(jìn)行同步加鎖

該方式在類加載的時(shí)候就被實(shí)例化了。

這種方式同樣利用了classloder的機(jī)制來保證初始化instance時(shí)只有一個線程,它跟餓漢不同的是(很細(xì)微的差別):餓漢方式是只要Singleton類被裝載了,那么instance就會被實(shí)例化(沒有達(dá)到lazy loading效果),而這種方式是Singleton類被裝載了,instance不一定被初始化。因?yàn)镾ingletonHolder類沒有被主動使用,只有顯式通過調(diào)用getInstance方法時(shí),才會顯示裝載SingletonHolder類,從而實(shí)例化instance。

想象一下,如果實(shí)例化instance很消耗資源,我想讓它延遲加載,另外一方面,我不希望在Singleton類加載時(shí)就實(shí)例化,因?yàn)槲也荒艽_保Singleton類還可能在其他的地方被主動使用從而被加載,那么這個時(shí)候?qū)嵗痠nstance顯然是不合適的。這個時(shí)候,這種方式就顯得很合理。

關(guān)于類加載情況下單例模式,如果單例由不同的類裝載器裝入,那便有可能存在多個單例類的實(shí)例。假定不是遠(yuǎn)端存取,例如一些servlet容器對每個servlet使用完全不同的類 裝載器,這樣的話如果有兩個servlet訪問一個單例類,它們就都會有各自的實(shí)例。修復(fù)的辦法是

本站其他內(nèi)容推薦

版權(quán)聲明: 本站僅提供信息存儲空間服務(wù),旨在傳遞更多信息,不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任,不代表本網(wǎng)贊同其觀點(diǎn)和對其真實(shí)性負(fù)責(zé)。如因作品內(nèi)容、版權(quán)和其它問題需要同本網(wǎng)聯(lián)系的,請發(fā)送郵件至 舉報(bào),一經(jīng)查實(shí),本站將立刻刪除。