hashmap
美
英 
- 網(wǎng)絡(luò)散列映射;哈希映射;哈希表
例句
When using the Map API, you effectively treat objects in the grid as if they were objects in a local hashmap.
在使用MapAPI時(shí),您要有效對(duì)待網(wǎng)格中的對(duì)象,如同它們是本地哈希映射中的對(duì)象一樣。
Another issue is that of data types: in Java we have a java. util. Map, and basically two implementations of it (HashMap and TreeMap).
另一個(gè)問題是數(shù)據(jù)類型的:在Java中我們有一個(gè)java.util.Map,它一般有兩個(gè)實(shí)現(xiàn)(HashMap和TreeMap)。
Notice that I just mock up some flight data in a HashMap rather than setting up the full MVC infrastructure.
注意我僅僅模仿了HashMap中的一些機(jī)載數(shù)據(jù),而不是設(shè)置完整的MVC基礎(chǔ)設(shè)施。
The last part of the method parses the XML result using a Groovy XmlSlurper and stores the results in a hashmap.
方法的最后部分使用GroovyXmlSlurper解析XML結(jié)果并將結(jié)果存儲(chǔ)在hashmap里。
It shows how the data structure uses collections (like HashMap or Vector) to structure the elements of the data structure.
它顯示了數(shù)據(jù)結(jié)構(gòu)如何利用集合(如HashMap或Vector)來設(shè)定數(shù)據(jù)結(jié)構(gòu)的元素的結(jié)構(gòu)。
This sample application leaks string objects into a static HashMap.
這一示例應(yīng)用程序將字符串對(duì)象泄漏到一個(gè)靜態(tài)HashMap中。
One of the most common contention bottlenecks in server-side Java applications is the HashMap.
服務(wù)器端的Java應(yīng)用程序中最普通的爭(zhēng)用瓶頸之一是HashMap。
The first obstacle they faced in clustering RIFE was to make access to this HashMap thread safe.
群集RIFE的第一個(gè)障礙是線程安全地訪問這個(gè)HashMap。
Using JAXB, it constructs Java objects corresponding to the input XML elements and puts them in a HashMap.
通過使用JAXB,將構(gòu)造與輸入XML元素對(duì)應(yīng)的Java對(duì)象,并將其放入到HashMap中。
The getAcronymMap method shown in listing 15 gets a HashMap representation of the acronym list in the preference store.
清單15中所示的getAcronymMap方法用于獲取首選項(xiàng)存儲(chǔ)中縮略詞列表的HashMap表示。
In this case, TripController redirects you to the list action, passing along all of the parameters (or QueryString) in the params hashmap.
在此,TripController重定向到list動(dòng)作,同時(shí)傳遞paramshashmap中的所有的參數(shù)(或QueryString)。
Nothing, if we never used an Integer as a key in a HashMap or other hash-based collection.
如果我們從未在HashMap或其它基于散列的集合中使用Integer作為關(guān)鍵字的話,什么也不會(huì)發(fā)生。
This, along with Integer being immutable, makes it practical to use an Integer as a key in a HashMap.
結(jié)合將不可修改的Integer,這使得使用Integer作為HashMap中的關(guān)鍵字是切實(shí)可行的。
On the right-hand side, we instantiate the actual type we want, a HashMap, but we don't have to repeat the type parameters.
在右邊,我們實(shí)例化了一個(gè)我們實(shí)際需要的對(duì)象,一個(gè)HashMap,但是我們不用重復(fù)地聲明類型參數(shù)。
The simple tests used here suggest that an uncontended synchronization is cheaper than the cost of an object creation or a HashMap lookup.
這里使用的簡(jiǎn)單測(cè)試是說明一個(gè)無爭(zhēng)用同步的代價(jià)要比創(chuàng)建一個(gè)對(duì)象或查找一個(gè)HashMap的代價(jià)小。
The class, onblur, and onsubmit attributes that must be added to an HTML element are placed in a java. util. HashMap instance named addMap.
必須添加到HTML元素的class、onblur和onsubmit屬性放置在名為addMap的java.util.HashMap實(shí)例中。
The getOrder method takes the order ID as a parameter, gets the corresponding order from the HashMap, and returns the same.
getOrder方法接受訂單ID作為參數(shù),從HashMap獲得對(duì)應(yīng)的訂單并返回訂單。
In the BOM-to-XOM mapping, this method creates a HashMap and puts the parameters into the HashMap.
在BOM-to-XOM映射,該方法創(chuàng)建一個(gè)HashMap,并將參數(shù)輸入HashMap。
Scala uses the term type annotations for explicit type declarations like HashMap.
Scala使用類型注解作為顯式類型聲明的方式,比如HashMap。
In this implementation, the list is stored in a static HashMap.
在這個(gè)實(shí)現(xiàn)中,列表存儲(chǔ)在一個(gè)靜態(tài)HashMap中。
Once I showed them how to do automatic serialization replacement, the transition to HashMap proceeded as planned.
當(dāng)我向他們展示如何自動(dòng)進(jìn)行序列化替換后,他們終于按計(jì)劃完成了向HashMap的轉(zhuǎn)變。
It then calls an API method of the application supplying this HashMap as input.
然后將調(diào)用應(yīng)用程序的API方法,并提供此HashMap作為輸入。
First of all, the belongsTo field in Flight switched from a single value to a hashmap of values.
首先,Flight中的belongsTo字段由一個(gè)值轉(zhuǎn)變為多個(gè)值的散列映射(hashmap)。
The disk forms of Hashtable and HashMap are different and incompatible.
Hashtable和HashMap在磁盤上的格式是不相同、不兼容的。
XML Schema (XSD) does not have a datatype for a dictionary structure, so what happens when I marshal a HashMap to XML?
XMLSchema(XSD)沒有字典結(jié)構(gòu)的數(shù)據(jù)類型,因此當(dāng)我將一個(gè)HashMap封送給XML時(shí)會(huì)發(fā)生什么呢?
Hashes are similar to the Java HashMap and Hashtable classes.
散列與Java中的HashMap和Hashtable類很相似。
Listing 4 illustrates how to use a custom data binding to build a map between the business object and java. util. HashMap.
清單4說明如何使用定制的數(shù)據(jù)綁定在業(yè)務(wù)對(duì)象和java.util.HashMap之間建立映射。
So, for example, it was cheaper to invoke methods on a HashMap map than a Map map, even though in both cases the map was a HashMap.
比如在HashMapmap上調(diào)用方法要比在Mapmap上調(diào)用方法更高效,雖然兩個(gè)map都是HashMap。
The static hasMany setting is a Groovy hashmap: the key is trip; the value is the Trip class.
靜態(tài)的hasMany設(shè)置是個(gè)Groovy的hashmap:鍵是trip;值是Trip類。
The main difference is that a HashMap is instantiated that associates a String value to a String key.
主要差別是,實(shí)例化了一個(gè)HashMap,用于將一個(gè)String值與一個(gè)String鍵相關(guān)聯(lián)。
The first line gets a HashMap from the geocoder service.
第一行從geocoder服務(wù)獲得一個(gè)HashMap。
Notice that attrs is a HashMap of the tag attributes.
請(qǐng)注意:attrs是標(biāo)記屬性的HashMap。
This is unexpected because hash maps have constant time search whereas trees have log(n) search.
這很出乎意料,因?yàn)?/c>hashmap的搜索時(shí)間是常量,但trees的搜索時(shí)間卻是log(n)。
get to retrieve the string, and then call String. indexOf to extract the desired rights identifier.
接著,程序將調(diào)用HashMap.get檢索該字符串,然后調(diào)用String.indexOf抽取想要的權(quán)限標(biāo)識(shí)符。
A HashMap, though, is a complex type.
不過,HashMap一個(gè)復(fù)雜類型。
The two retrieval methods simply retrieve the value from the HashMap (Figure 14 and 15).
這兩個(gè)檢索方法只檢索HashMap中的值(圖14和圖15)。
Attributes (such as id and iata) are defined using Groovy hashmap key: value syntax.
而屬性(諸如id和iata)是用Groovy散列映射鍵:值語法定義的。
In this example, it is a HashMap.
在本例中是HashMap。
In the example here, you don't need a response, so an empty Hash map is used.
在本例中,您不需要響應(yīng),因此使用了空的Hashmap。
Clearly, this approach is a pain but the solution is easy: Never use a mutable object type as a key in a HashMap.
很顯然,這種方法很糟糕,但是解決方法也很簡(jiǎn)單:永遠(yuǎn)不要將可變對(duì)象類型用作HashMap中的鍵。