因?yàn)?/c>對(duì)于java.util.concurrent.lock中的鎖定類來說,synchronized仍然有一些優(yōu)勢(shì)。
In practice, I found the BCEL version of this class writing program (org. apache. bcel. util. BCELifier) to be of limited use.
而在實(shí)踐中,我發(fā)現(xiàn)這種類編寫程序的BCEL版本(org.apache.bcel.util.BCELifier)使用起來有一些限制。
Both of these methods rely on the business delegate to return a java. util. List sorted in the correct manner.
這兩個(gè)方法都依賴于業(yè)務(wù)代理返回一個(gè)按照正確要求排序后的java.
The java. Util. Locale class no longer allows fallback to a default region if the region is unspecified.
java.util.Locale類不再允許在未指定默認(rèn)區(qū)域時(shí)回退到默認(rèn)區(qū)域。
A good rule of thumb is to set util_heap_sz to at least 10000 x #CPUs on the DB2 server.
一個(gè)很好的經(jīng)驗(yàn)法則是,在DB2服務(wù)器上將util_heap_sz設(shè)為至少10000xCPU數(shù)目。
The next article in this series explores even more of the java. util. concurrent namespace.
本系列的下一篇文章將會(huì)進(jìn)一步探討java.util.concurrent名稱空間的內(nèi)容。
The result of query execution consists of the elements of an untyped java. util. List.
查詢執(zhí)行的結(jié)果包含無類型的java.util.List的元素。
A simple conversion is needed if the client is expecting a java. util. Dates, as shown in Listing 8.
如果客戶端需要java.util.Dates,那么需要對(duì)其進(jìn)行簡(jiǎn)單轉(zhuǎn)換,如清單8所示。
A Subject maintains a principal's identities and security credentials in the form of sets (of class java. util. Set).
一個(gè)Subject以集的形式(類java.util.Set)維護(hù)了一個(gè)主體的身份和安全憑證。
And so we continued for another ten minutes, util suddenly my daughter burst into tears, and admitted that she was beaten.
接著我們又繼續(xù)了十分鐘,直到,女兒突然間放聲大哭,承認(rèn)她被傷害到了。
The value of this attribute should be either a string naming a locale, or an instance of the java. util. Locale class.
該屬性的值應(yīng)當(dāng)是命名該語言環(huán)境的一個(gè)字符串或者是java.util.Locale類的一個(gè)實(shí)例。
Next up in complexity is the new java. util. AbstractQueue class.
再復(fù)雜一點(diǎn)的是新的java.util.AbstractQueue類。
For all intents and purposes, you can use an XMLCursor as a java. util. Iterator, except that you can also use it in a generic fashion.
不管出于何種目的,您都可以將XMLCursor作為java.util.Iterator使用,只是您也能夠以泛型形式使用它。
The EnumMap class offers a special implementation of the java. util. Map interface where the key is an enumerated type.
EnumMap類提供了java.util.Map接口的一個(gè)特殊實(shí)現(xiàn),該接口中的鍵(key)是一個(gè)枚舉類型。
This tip showed that, if the original Java API contained java. util. Date, then the roundtrip resulting API will not match the original.
本技巧展示出,如果原始的JavaAPI包括java.util.Date,那么作為往返結(jié)果的API將與原始的不相匹配。
The DirInfo class uses typed java. util. List collections for the normal files and child directories of a directory.
DirInfo類使用有類型的java.util.List集合表示普通文件和目錄的子目錄。
The MBean model implementation utilizes a few utility classes associated with JDOM in the package com. claudeduguay. util. jdom.
MBean模型實(shí)現(xiàn)利用了com.claudeduguay.util.jdom包中幾個(gè)與JDOM相關(guān)的工具類。
An actual solution would most likely take advantage of the standard java. util. logging mechanism.
實(shí)際的解決方案很可能利用標(biāo)準(zhǔn)java.util.logging機(jī)制。
The new configuration parameter, UTIL_IMPACT_PRIORITY, specifies the priority for the throttling utility.
新的配置參數(shù)UTIL_IMPACT_PRIORITY指定進(jìn)行throttling的實(shí)用程序的優(yōu)先級(jí)。
org. apache. bcel. util. Repository is actually an interface for a source of binary class representations.
Repository實(shí)際上是二進(jìn)制類表示的源代碼的接口。
The ScriptCache class (shown in Listing 9) implements a repository for the compiled scripts, using a java. util. LinkedHashMap object.
ScriptCache類(參見清單9)使用java.util.LinkedHashMap對(duì)象為所編譯的腳本實(shí)現(xiàn)存儲(chǔ)庫。
Nearly all the classes in the java. util. concurrent package use atomic variables instead of synchronization, either directly or indirectly.
無論是直接的還是間接的,幾乎java.util.concurrent包中的所有類都使用原子變量,而不使用同步。
While it's not a Collections class, per se, the java. util. concurrent. TimeUnit enumeration makes code vastly easier to read.
盡管本質(zhì)上不是Collections類,但java.util.concurrent.TimeUnit枚舉讓代碼更易讀懂。
So a string variable inside the Util. System namespace can be declared as Global. System. String.
因此,Util.System命名空間中的字符串變量可以聲明為Global.
A lightweight implementation of a red-black tree is included in the J2ME specification class java. util. TreeSet.
紅黑樹的輕量級(jí)實(shí)現(xiàn)包括在J2ME規(guī)范類java.util.TreeSet中。
A lock that implements the java. util. concurrent. locks. Lock interface controls how multiple threads access a shared resource.
一個(gè)實(shí)現(xiàn)java.util.concurrent.locks.Lock接口的鎖控制著多個(gè)線程是如何訪問一個(gè)共享資源的。
Due to the nature of this technique, it is not included in the downloadable wsdl-util. xsl.
由于此技術(shù)本身特性的原因,并未在可下載的wsdl-util.xsl中將其包含進(jìn)去。
Then why did the JSR 166 group spend so much time developing the java. util. concurrent. lock framework?
那么為什么JSR166小組花了這么多時(shí)間來開發(fā)java.util.concurrent.lock框架呢?
The util_impact_lim parameter is the percentage of allowable impact that all throttled utilities can have on the instance workload.
util_impact_lim參數(shù)是指允許所有已調(diào)整實(shí)用程序對(duì)于實(shí)例的工作負(fù)載產(chǎn)生影響的百分比。