国产高清精品免费区-男女一进一出抽搐免费视频-中日韩一二三级黄色永久视频-日韩精品人妻一区二区免费视频-日本久久视频在线观看-99热这里只有精品88热-亚洲韩国黄色最新短视频一区-日韩伦理在线观看免费全集-国产av一区二区三区天堂

hashmap

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)HashMapTreeMap)。

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)如何利用集合HashMapVector設(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.

清單15getAcronymMap方法用于獲取首選項(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元素classonbluronsubmit屬性放置addMapjava.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.

首先FlightbelongsTo字段一個(gè)轉(zhuǎn)變多個(gè)映射hashmap)。

The disk forms of Hashtable and HashMap are different and incompatible.

HashtableHashMap磁盤格式相同兼容

XML Schema (XSD) does not have a datatype for a dictionary structure, so what happens when I marshal a HashMap to XML?

XMLSchemaXSD沒有字典結(jié)構(gòu)數(shù)據(jù)類型因此當(dāng)一個(gè)HashMap送給XML時(shí)會(huì)發(fā)生什么呢?

Hashes are similar to the Java HashMap and Hashtable classes.

散列JavaHashMapHashtable相似

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è)mapHashMap

The static hasMany setting is a Groovy hashmap: the key is trip; the value is the Trip class.

靜態(tài)hasMany設(shè)置個(gè)GroovyhashmaptripTrip

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í)間logn)。

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è)檢索方法檢索HashMap1415)。

Attributes (such as id and iata) are defined using Groovy hashmap key: value syntax.

屬性諸如idiataGroovy映射語法定義

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

熱門查詢